6
votes
3answers
6k 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
3answers
687 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 ...
6
votes
1answer
835 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 ...