Re: Presenting modal vc repositions root vc
Re: Presenting modal vc repositions root vc
- Subject: Re: Presenting modal vc repositions root vc
- From: Kyle Sluder <email@hidden>
- Date: Mon, 27 Jan 2014 15:31:00 -0800
On Mon, Jan 27, 2014, at 03:01 PM, Rick Mann wrote:
>
> On Jan 27, 2014, at 14:57 , David Duncan <email@hidden> wrote:
>
> > Basically a view or view controller should never modify their external coordinate system, and this does that. There are a great many places where a parent view controller or window assume they have full control over the views of their children, and doing stuff like this breaks that control pretty handidly.
> >
>
> Indeed. Well, it had the desired effect for many, many months, so it got
> forgotten.
>
> The new status bar behavior induced a lot of stuff like this. The
> official solution, AFAICT, won't work for non-storyboard projects, either
> (since they don't have top & bottom layout guides).
Layout guides work just fine regardless of use of storyboards. But
because layout guides are owned by the _view controller_, not the view,
there is nowhere for IB to offer them in non-storyboard views.
You can still use them in an override of -updateViewConstraints just
fine.
--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