Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I have done the same thing but using MFSideMenuContainerViewController</p> <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { MFSideMenuContainerViewController *container = [MFSideMenuContainerViewController containerWithCenterViewController:_rootNavController leftMenuViewController:settingDrawerController rightMenuViewController:nil]; self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; [self.window makeKeyAndVisible]; [self.window setRootViewController:container]; } </code></pre> <p>and I have set my controller at application delegate and present the loginViewContrller as model view from </p> <pre><code>- (void)applicationDidBecomeActive:(UIApplication *)application { [self showLoginView]; } - (void)showLoginView { UIViewController *topViewController = [self.navController topViewController]; if (![topViewController isKindOfClass:[LGLoginViewController class]]) { [self.navController popToRootViewControllerAnimated:YES]; self.navController = nil; LGLoginViewController* loginView = [[LGLoginViewController alloc] initWithNibName:@"LGLoginViewController"bundle:nil]; if (!self.navController) { self.navController = [[UINavigationController alloc] initWithRootViewController:loginView]; } else { [self.navController initWithRootViewController:loginView]; } self.navController.delegate = self; [self.window.rootViewController presentModalViewController:self.navController animated:NO]; } } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload