所以我想在我的應用程序安裝此導航框架之前,設置一個新的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];