My objective is to create a tabbed application, then the view for each of the tabs are constructed in separate storyboards.
![Storyboard screenshot](https://i.stack.imgur.com/Nw6Zn.png)
My mainstoryboard is a tab view.
Then I create a secondary storyboard (storyboard#2) with 2 View Controllers. The first view controller (also ticked as initial) have a button, and segue (modal) to 2nd view. ![First view controller](https://i.stack.imgur.com/s848R.png)
I managed to load the view by subclassing and overriding loadView from storyboard#2.
![loadView override](https://i.stack.imgur.com/z7Mgw.png)
Here's the simulator output.
![Simulator](https://i.stack.imgur.com/MvnU6.png)
When click on the "click me" button, I get a EXC_BAD_ACCESS
. The segue does not work, seems like the second storyboard is not being loaded completely.
Has anyone tried to do this before and get it working? There's a youtube video from SkillMaster.net but he does not demonstrate if a segue is working under the secondary storyboard. the video is here: http://youtu.be/D4_twoYvB4M
Thanks for any input and help!
Screenshots:
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…