Here's my setup for an iPad app. I created a new project using the Single View Application with UIStoryboard
.
XCode created the main UIViewController
as the entry point. In the view I placed a toolbar with a button. I then insterted a UISplitViewController
to the storboard.
What I want is from the toolbar to have a button that will load the split view with master/detail tables.
I tried to click on the button and drag to the splitviewcontroller, which created a segue, but every combination I created failed to run and crashed.
My toolbar will have many other buttons which will load other views.
The question is, how do I use storyboard to link the configuration of loading the split view? All google results showed me no examples of such a setup.
Thanks in advance