I have an application that has following schema:
Login -> Tab Bar ->
- UINavigationController -> Tab1ViewController
- UISplitViewController -> UINavigationController -> MasterViewController/DetailViewController
- UINavigationController -> Tab3ViewController
Then I implement in my DetailViewController
- (void)splitViewController:(UISplitViewController *)splitController willHideViewController:(UIViewController *)viewController withBarButtonItem:(UIBarButtonItem *)barButtonItem forPopoverController:(UIPopoverController *)popoverController
but it never get called.
I also have put the splitview delegate in my detail:
@interface DetailViewController : UITableViewController
<UISplitViewControllerDelegate>
Is there anything I'm missing?