MGSplitViewController using Storyboards
-
08-12-2019 - |
Question
I have been working on this for some time now and just cant quite get it to work... Has anyone implemented a MGSplitViewController app using storyboards in iOS 5? I just cant get anything to show up like in the example project and was wondering if there were any tutorials or just steps to getting this to work...
Thanks
Solution
iOS 5 allows you to custom create View Controller containers. Refer to "Implementing UIViewController Containment". They have a sample project demo, but not sure if they have published the source code.
I think you can create a root ViewController that holds two more child ViewControllers
Child 1 - Has
UITableView
and is aligned left.Child 2 - Has
UIView
for the details on the right.
MGSplitViewController
style transition could be achieved through transitionFromViewController:toViewController: