SWrevealViewController without using navigationController

enter image description here

where you need to push or model new view controller call the below code

UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"yourstoryboardname" bundle: nil];

  UIViewController *viewController = [storyboard instantiateViewControllerWithIdentifier:@"yourIDName"];


[[self navigationController] pushViewController:viewController animated:NO];

Leave a Comment