Re: Why is translatesAutoresizingMaskIntoConstraints on in my storyboard?
Re: Why is translatesAutoresizingMaskIntoConstraints on in my storyboard?
- Subject: Re: Why is translatesAutoresizingMaskIntoConstraints on in my storyboard?
- From: Kyle Sluder <email@hidden>
- Date: Mon, 19 Aug 2013 08:50:23 -0400
On Aug 19, 2013, at 2:48 AM, Rick Mann <email@hidden> wrote:
> I don't turn this on explicitly. But when I load a UIVieController into a view controller container, I'm getting bitching about unsatisfiable constraints, including NSAutoresizingMaskLayoutConstraint. But it's all from the same storyboard that uses autolayout. Why are there any autoresizing constraints?
You don't control how view controllers position their child view controllers' views. For example, the root view controller's view is positioned within the window using -setFrame:, not with constraints.
Make sure you haven't accidentally created a constraint system that will try to resize the window.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden