Re: Bugs with parentViewController?
Re: Bugs with parentViewController?
- Subject: Re: Bugs with parentViewController?
- From: Rick Mann <email@hidden>
- Date: Fri, 16 Nov 2012 22:19:20 -0800
On Nov 16, 2012, at 22:16 , Kyle Sluder <email@hidden> wrote:
> On Nov 16, 2012, at 9:57 PM, Rick Mann <email@hidden> wrote:
>
>> 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.
>
> Highly unlikely, but are you sure you're not accidentally initializing two instances of your view controller, only one of which is correctly inserted into the view controller hierarchy?
Given that -viewDidLoad only gets called once, I'm pretty sure that there's only one. Also, there's only one in the storyboard.
--
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