Re: Bugs with parentViewController?
Re: Bugs with parentViewController?
- Subject: Re: Bugs with parentViewController?
- From: Rick Mann <email@hidden>
- Date: Fri, 16 Nov 2012 17:09:40 -0800
On Nov 16, 2012, at 17:04 , Fritz Anderson <email@hidden> wrote:
> Are you sure UISplitViewController is a parent controller, and not a presenting controller? As of iOS 5, a presented controller will return nil for the parent (if there is no parent), instead of the presenting controller, as it had before. It may be you're looking for .presentingViewController. Try it.
Yeah, I tried that, too. It was also nil. I thought "presenting" was how modal VCs were displayed, and this certainly isn't a modal VC, it's one of the UISplitViewController's normal child VCs.
--
Rick
_______________________________________________
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