Answer the question
In order to leave comments, you need to log in
How to make transition between multiple UIMasterViewController in UISplitViewController?
Please tell me how you can use the Storyboard to make the transition between several MasterViewControllers, for example, as in Mail, according to the following algorithm:
Categories (Main menu) -> Subcategories -> Update DetailViewController
I can not find a similar example or description.
Answer the question
In order to leave comments, you need to log in
Found the answer on stackoverflow.com
If it doesn't help, I'll come back here.
Answer:
When using story boarding, if you want to have multiple table views so it will allow the user to drill down, you must use the Push Segue (set it to master). Make sure you are not pushing a Navigation controller and just the view you want listed. Then, to get back just use [self.navigationcontroller popViewControllerAnimated:YES]; to get back.
EDIT: (more info as asked for) So in XCode/IB when you are on your main view and right click and drag it to another view, you will be presented with different choices. You want to select Push instead of Modal. This will allow it to push a new view onto the stack. You can also set it's destination to Master and it will size the IB view correctly. Also, you don't always have to use a button to connect a view. You can also drag from the view controller itself to another view controller instead of a button to view controller. Then in your button code you can call [self performSegueWithIdentifier:@"someNameHere" sender:self]; to call the transition. This lets you do checks and validation before you move on to the next screen. Just remember to click on your segue and name it (under identifier in the properties view).
-David
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question