所以我想在我的应用程序安装此导航框架之前,设置一个新的window.rootViewController:现在视图被加载
https://github.com/weissi/FRLayeredNavigationController
http://www.youtube.com/watch?v=k9bFAYtoenw&feature=plcp
,如果你看一下添附图像,我有我的登录屏幕。登录完成后,我会将Segue Modal推入我的“主页”页面,然后在那里,我希望一旦到达我的主页就开始拥有FRLayeredNavigationController。使用故事板时可能吗?据YouTube视频,一个通常会做使用FRLayeredNavigationController:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch.
HomeViewController* homeController = [[HomeViewController alloc] init];
FRLayeredNavigationController* lnc = [[FRLayeredNavigationController alloc] initWithRootViewController:homeController];
self.window.rootViewController = lnc;
}
[self.layeredNavigationController pushViewController:vc inFrontof:self maximumWidth:NO animated:YES];