I have storyboard structure with SWRevealViewController
. Everything works fine, setting view controllers etc. Now, I have one image on menu that leads to profile and is not in structure of SWReveal
. Anybody knows any way of pushing it to root navigation controller and back button to lead back to SWReveal
?
I have tried this:
RegistrationvViewController *vcSw = [[UIStoryboard storyboardWithName:@"Main" bundle:nil] instantiateViewControllerWithIdentifier:@"editProfile"];
[self presentViewController:vcSw animated:YES completion:nil];
I embedded SWReveal
in NavigationController
and tried performingSegueWithIdentifier
but back is not shown as well.