SecondaryVC underneath PrimaryVC (SplitViewController)

Many of the questions about the iOS8+ splitViewController deal with instructing the splitview to show the "MainViewController" as a column istead of an overlay. I've set my preferredDisplayMode to "All Visible" to get over that hump.


However, whenever I display a secondary view controller, either through "showDetailViewController" or by returning an empty controller from "separateSecondaryViewControllerFromPrimaryViewController" the controllers always appear underneath the PrimaryViewController, aligned to the left side of the screen. The view is sized correctly, so I see a lot of empty space to the right side of the window.


Is there something relatively common that I'm doing wrong here? I'm not finding anything in the sample projects that I'm missing...

I've attached some images of the phenomenom I'm seeing.


The expected Layout From Apple's AdaptivePhotos sample code:


Then I created a new project of type master-detail. I removed the Storyboard stuff because I'd prefer to avoid it, and configured the project to only use code.

As you can see the secondary view controller extends behind the masterViewController.

SecondaryVC underneath PrimaryVC (SplitViewController)
 
 
Q