iPad UISplitView initial state in portrait: how to display popover controller widget?

Posted by Patrick Linskey on Stack Overflow See other posts from Stack Overflow or by Patrick Linskey
Published on 2010-05-02T19:23:20Z Indexed on 2010/05/02 19:28 UTC
Read the original article Hit count: 755

Filed under:
|

Hi,

I'm working on an iPad app that uses a UISplitView. Inspired by http://blog.blackwhale.at/2010/04/your-first-ipad-split-view-application/, I display a button in my detail view when in portrait mode that shows the popover controller. This works great. However, the appropriate UISplitViewControllerDelegate message is only sent when the device rotates. So, when the app first loads (in portrait mode), my navigation button is not visible.

Is it possible to somehow convince the UISplitViewController to send that message on load or something, or do I need to re-implement my own popover logic to get things working?

Thanks,

-Patrick

© Stack Overflow or respective owner

Related posts about ipad

Related posts about uisplitviewcontroller