UISplitViewController的基本用法
SplitTableViewController *splitTVC = [[SplitTableViewController alloc] init]; SplitViewController *vc = [[SplitViewController alloc] init]; UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:splitTVC]; UINavigationController *nav2 = [[UINavigationController alloc] initWithRootViewController:vc]; [splitVC addChildViewController:nav]; [splitVC addChildViewController:nav2]; self.window.rootViewController = splitVC;