• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iOS: Question about split view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iOS: Question about split view


  • Subject: iOS: Question about split view
  • From: Phillip Mills <email@hidden>
  • Date: Sun, 16 Jan 2011 18:35:45 -0500

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 (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

  • Prev by Date: Re: Get iphoto scripting bridge handle without starting iphoto?
  • Next by Date: Parental Controls altering binary
  • Previous by thread: Re: Why can't a modal view controller present another in viewDidLoad?
  • Next by thread: Parental Controls altering binary
  • Index(es):
    • Date
    • Thread