As a test using the demo application I am trying to replace the detail view with another controller.
I instantiate my new detailviewcontroller and try and use MGSplitViewController:setDetailViewController and nothing happens.
I can trace the code till it hits [self layoutSubViews] but the view doesn't change.
What am I doing wrong here?
I've seen this issue when you try and switch the detail programmatically before the master popover has ever been displayed...
workaround is to programmatically show then hide the popover prior to the setDetail call.