I see a problem with the following scenario:
1) Start with the template project for a split view
2) Add a function where a modal view can be shown over it using a style of 
UIModalPresentationFullScreen
3) Run in portrait mode
4) While the modal view is being shown, trigger a memory warning
5) Dismiss the modal view

The result is that the 'Events' button that brings up the popover root 
controller is no longer displayed.  The view has been reloaded, but the 
callback that sets up the 'Events' button hasn't been activated.

I'm handling this by saving a reference to the button the first time I'm given 
it and then,  in viewDidAppear:, checking for portrait orientation and the 
identity of the first item on the toolbar.  This feels like a hack.  Does 
anyone have a better strategy for this 
one?_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to