More info: In my SVC subclass -viewDidLoad, the parent/child relationships are set up correctly.
By the time -viewWillAppear in my nav controller's root VC is called (the first time the split view is displaying the popover), the SVC-UINavController parent/child relationship has been broken. I put a UINavController subclass in there to break on -removeFromParentViewController, but it never gets called, even though that navcontroller's parentViewController property is nulled. -- Rick On Nov 16, 2012, at 17:04 , Fritz Anderson <fri...@manoverboard.org> wrote: > On 16 Nov 2012, at 4:14 PM, Rick Mann <rm...@latencyzero.com> wrote: > >> I'm finding that parentViewController is nil for all the >> UINavigationControllers embedded in my hierarchy (via storyboard). In my >> case, they're embedded in UISplitViewControllers. >> >> I wrote bugs about this, but I wanted to check to see if others are seeing >> that, or if I've failed to do something properly. > > 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. > > — F > > -- > Fritz Anderson -- Xcode 4 Unleashed: 4.5 supplement in the works -- > <http://x4u.manoverboard.org/> > -- Rick _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com