Exchange scenes between multiple storyboard files. iPhone vs iPad

I am working on a universal application using a storyboard. I have 2 storyboard files. One for the iPhone and one for the iPad. I will have some scenes that I would like to share between them, and I want to use the storyboard editor to customize them. Common is the UITableViewController and its prototype cells. I can do this in one of the storyboard files, but how do I show it in both files without redoing its design?

+5
ios storyboard
Jan 02 2018-12-12T00:
source share
1 answer

I don't think this is possible at the moment, although it would be cool. You may have a third storyboard that would be for general views, but transitions to those views would have to be done programmatically.

Once you create an instance of this third storyboard, you can do [storyboard instantiateViewControllerWithIdentifier: STRING_ID] to get an instance of it.

This is what I did in one of my applications, where I had common tools that were shared.

+6
Jan 02 2018-12-12T00:
source share



All Articles