Change split view controller master view controller

Background: I am playing around with different iOS programming elements for the first time and would like to create a basic application to experiment with.


]The default template for a split view controller in a storyboard provides a navigation controller (with a table view as its root view controller) as the master view controller (shown below). Creating a new project with the storyboard shown below and running it on my iPad works just fine. [EDIT: For some reason the images aren't displaying in my published post, so here's a direct link: https://dl.dropboxusercontent.com/u/4990751/First%20Storyboard.png]



I would like the master view controller to instead be a tab bar controller. I would have thought that this would be as simple as modifying the split view controller's master view relationship to link to a tab bar controller (eg: see below), but this does not appear to be the case. Modifying the storyboard from above as shown below and running it on my iPad causes the app to crash with the following error. [EDIT: For some reason the images aren't displaying in my published post, so here's a direct link: https://dl.dropboxusercontent.com/u/4990751/Second%20Storyboard.png]


2015-06-26 17:52:14.441 MyAppName[1626:821389] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </private/var/mobile/Containers/Bundle/Application/D373DA56-CE79-492C-A9B5-F127DD5A77DF/MyAppName.app> (loaded)' with name 'LZ4-22-Kfq-view-aMG-hx-OyP''
*** First throw call stack:
(0x1849802d8 0x195e2c0e4 0x184980218 0x1897e03ac 0x1896dc384 0x1893c0a28 0x1893c0994 0x1894f6e68 0x1894f6b58 0x1893ceb6c 0x189700fe0 0x1896fff7c 0x1896ffd50 0x1896dc228 0x1896eb1c4 0x1898c2c60 0x1898ab6b8 0x1898ab374 0x1897e1148 0x1898ab6b8 0x1898ab658 0x1898ab374 0x1897e05a8 0x189982ec8 0x18964df5c 0x18964d0e0 0x18964b778 0x18d0393c8 0x18493827c 0x184937384 0x1849359a8 0x1848612d4 0x18942c43c 0x189426fac 0x1000a2b70 0x1964aaa08)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)


What am I doing wrong here? Is it possible to use a tab bar controller as the master view for a split view controller?

Hy ACB,

you have resolved this problem? I have the same question.


Can do you help me?


Sorry for my english...

Change split view controller master view controller
 
 
Q