对于sidemenu我正在使用SWRevealViewController
框架和For tab-bar我正在使用3个Viewcontrollers示例 A , B 和 C 。我想在didfinishlaunch
中为此目的在初始Viewcontroller中显示标签栏
app delegate中的方法。我已经提到前视图控制器作为标签栏和后视图控制器作为侧面菜单,我也成功地移动到侧面菜单。但是从那个侧面菜单我无法导航视图控制器。请建议我
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
SideMenuViewController *sidemenuVc = [storyboard instantiateViewControllerWithIdentifier:@"SideMenuViewController"];
HomeViewController *vc = [storyboard instantiateViewControllerWithIdentifier:@"HomeViewController"];
SWRevealViewController *revealController = [[SWRevealViewController alloc] initWithRearViewController:sidemenuVc frontViewController:vc];
//[self .navigationController.pushViewController:vc animcated:YES];
[self.navigationController pushViewController:revealController animated:YES];