Storyboard UISplitViewController difficulty
Storyboard UISplitViewController difficulty
- Subject: Storyboard UISplitViewController difficulty
- From: Rick Mann <email@hidden>
- Date: Thu, 15 Nov 2012 22:22:13 -0800
It seems that when using storyboards, UISplitViewController gets loaded and calls its delegate before the related view controllers even get loaded. I'm trying to set my right-side view controller as the delegate in its -viewDidLoad, but at this point it's too late, and the willHide delegate method is not called, and consequently the popover button is not installed.
Really, the related view controllers' -viewDidLoad methods should be called before the split view controller's -willAppear (which is what triggers the call to the delegate method). Barring that, the split controller should call the willHide delegate method should only be called after the related view controllers have loaded.
--
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