You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my application I have Implemented two way authentication(i.e) manager login and employee login, If manager login means I want navigate to Viewcontroller1 else employee login means I want to navigate viewcontroller2, Here my question is how to setup the multiple sw_front for two viewcontrollers, I Using Objective-C language for developing. Please can you make some sample for me.
I have tried the following code but it did't worked.. UIStoryboard *sb = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; SWRevealViewController *revealController = self.revealViewController; self.view.window.rootViewController = revealController; UIViewController *newFrontController = [sb instantiateViewControllerWithIdentifier:@"clientDetailView"]; UINavigationController *navigationController1 = [[UINavigationController alloc] initWithRootViewController:newFrontController]; [revealController pushFrontViewController:navigationController1 animated:YES];
Please help me for find the issue or provide some sample code..
Thanks..
The text was updated successfully, but these errors were encountered:
In my application I have Implemented two way authentication(i.e) manager login and employee login, If manager login means I want navigate to Viewcontroller1 else employee login means I want to navigate viewcontroller2, Here my question is how to setup the multiple sw_front for two viewcontrollers, I Using Objective-C language for developing. Please can you make some sample for me.
I have tried the following code but it did't worked..
UIStoryboard *sb = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; SWRevealViewController *revealController = self.revealViewController; self.view.window.rootViewController = revealController; UIViewController *newFrontController = [sb instantiateViewControllerWithIdentifier:@"clientDetailView"]; UINavigationController *navigationController1 = [[UINavigationController alloc] initWithRootViewController:newFrontController]; [revealController pushFrontViewController:navigationController1 animated:YES];
Please help me for find the issue or provide some sample code..
Thanks..
The text was updated successfully, but these errors were encountered: