MGSplitViewController Not Loading DetailViewController
===

I have an app for my company that uses the built-in UISplitViewController to display information if the device running the app is an iPad. This code loads two UINavigationControllers, masterNav and detailNav and then passes them into an array which is then passes the array into the UISplitViewController. This code has worked perfectly for our needs for the past several months; however, with iOS 5.1 Apple changed the SplitViewController to start using the slide-in method instead of the popover. The slide-in does not look good or flow well inside our application. In order to release the new version of the app, I have learned we can compile against one of our older MacBook Pros on Snow Leopard which will force the app to continue to use the popover, but I would like to programatically handle this so that when Snow Leopard is phased out we won't be in a bind.

After reading numerous other SO questions, I decided my best bet was to use MGSplitViewController. From what I have read, it appears that you should be able to implement Matt Gammelle's version exactly the same way as the UISplitViewController, this doesn't work for me. The master navigation controller is the only one that works, the large area for the detail navigation controller is completely unused. I'm hoping this is some simple coding mistake I'm missing so that I can move forward with other projects.

Here is the original code I used to implement the UISplitViewController:

        if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad) {
        UINavigationController *detailNav = [[UINavigationController alloc] initWithRootViewController:storeVc];
        //        [detailNav autorelease];
        NSArray *vcs = [NSArray arrayWithObjects:masterNav, detailNav, nil];
        UISplitViewController *splitViewController = [[UISplitViewController alloc] init];
        [splitViewController setDelegate:storeVc];
        [splitViewController setViewControllers:vcs];
        [[self window] setRootViewController:splitViewController];
    } else {
        [[self window] setRootViewController:masterNav];
    }

Here is the (almost identical) simple code change I hoped to use to implement MGSplitViewController:

        if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad) {
        UINavigationController *detailNav = [[UINavigationController alloc] initWithRootViewController:storeVc];
        //        [detailNav autorelease];
        NSArray *vcs = [NSArray arrayWithObjects:masterNav, detailNav, nil];
        MGSplitViewController *splitViewController = [[MGSplitViewController alloc] init];
        [splitViewController setDelegate:storeVc];
        [splitViewController setViewControllers:vcs];
        [[self window] setRootViewController:splitViewController];
    } else {
        [[self window] setRootViewController:masterNav];
    }

The MGSplitViewController loads up the left half of the splitViewController (masterNav), but when you select a row in the tableView it just pushes it onto the stack on the left half. It doesn't load in the detailNav on the right half. Can anyone point me in the right direction? 