所以我试图在我的应用程序中安装这个导航框架:
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];