【发布时间】:2012-11-04 03:50:57
【问题描述】:
所以我想在我的应用中安装这个导航框架:
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];
【问题讨论】:
标签: objective-c ios5 uiviewcontroller uinavigationcontroller ios6