UISplitView: how to access instance?

Posted by chpwn on Stack Overflow See other posts from Stack Overflow or by chpwn
Published on 2010-05-09T19:20:13Z Indexed on 2010/05/14 0:24 UTC
Read the original article Hit count: 702

I have a navigation controller in my left portion of my split view, and in the right portion. But sometimes, for example when an item is tapped, my left side must manually set the view controller on the right side.

Where is the best place to store the split view controller instance? Pass it around to each view controller on the left side, like I do with the navigation controller? Store it in my App Delegate and then access it via a property with [[UIApplication sharedApplication] delegate].splitView?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ipad