Tagged Questions
11
votes
3answers
10k views
UIScrollView doesn't use autolayout constraints
I have a scroll view and an image view behind it and I am populating it with nibs. I am using autolayout. I have a bottom space to superview and a top space to superview on both of the views. The ...
5
votes
4answers
10k views
Creating layout constraints programmatically
I know that a lot people already asked tons of questions about this, but even with the answers I can't make it work.
When I'm dealing with constraints on storyboard, it's easy but in code I have a ...
8
votes
1answer
1k views
'NSInvalidArgumentException', reason: 'Unable to parse constraint format'
I have a subview that I want to keep stops during rotating screen, so I decided to put the NSLayoutConstraint type:
Trailing Space to Superview
Top Space to Superview
Button Space to Superview
I'm ...
6
votes
3answers
2k views
Auto Layout (Constraints) Center 2 side by side views in a parent view
I'm trying to figure out how to do this with auto layout (iOS6) and constraints.
Basically I have my large view divided up into two sections on the bottom. Inside of those sections (currently ...