嗨,我正在使用storyboard
我的 iPad 应用程序。如何添加SWRevealViewController
到我的应用程序。我想将幻灯片视图添加到我的主视图控制器。任何机构都可以建议我。我正在使用以下代码加载我的 splitViewAppDelegate.h
UISplitViewController *splitViewController = (UISplitViewController *)self.window.rootViewController;
UINavigationController *navigationController = [splitViewController.viewControllers lastObject];
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard_iPad" bundle:nil];
DetailViewController *rootViewController = [storyboard instantiateViewControllerWithIdentifier:@"CouponDetailRoot"];