i'am looking for a solution to have a UISplitView with multiple ViewControllers inside the DetailView(rightView of the UISplitView).
The example of apple works fine but uses nib file instead of storyboards. (https://developer.apple.com/library/ios/samplecode/multipledetailviews/Listings/ReadMe_txt.html)
I found another example but there is whitespace when i implement an UITableView http://www.dharmaworks.net/Consulting/switching-detail-views-in-uisplitviewcontroller-with-ios7
During the search for an answer i found many people with the same issue. I figured it out myself so here is my solution. I hope it is useful for other people.
Step 1. Create a SplitViewController project. If you have a project already skip this step ;)
Step 2. Add two different viewControllers. In this case i call them AbcViewController and XyzViewController.
Step 3. Go to the ipad storyboard, remove the DetailViewController from the storyboard. Then add two new viewControllers.
Step 4. Set the class and the Storyboard ID for your viewControllers.
Step 5. Go to your MasterViewController.h and replace the code with the code below.
Step 6. Now go to your MasterViewController.m file and replace with this code:
Note: If you have an existing project and don't want to replace use the code in step 7.
Step 7.
Thats it, run your project and enjoy :)