Open minafaw opened 9 years ago
You have to instantiate the ViewController you want to show in this way
UIStoryboard *story = [UIStoryboard storyboardWithName:@"YourStoryboard" bundle: nil];
YourViewController *viewController = (YourViewController *)[story instantiateViewControllerWithIdentifier:@"YourViewController"];
SWRevealViewController *controller = (SWRevealViewController *)self.window.rootViewController;
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:viewController];
[navController setViewControllers:@[viewController] animated:YES];
[controller pushFrontViewController:navController animated:YES];
I try navigate to one of my view items after I get notification
-(void)HandleNavigation{
}
I can navigate to my FrontViewController only what I can do to navigate to other view
thank you