【发布时间】:2017-01-03 18:50:23
【问题描述】:
this is the screen shot of storyboard
我正在使用SWRevealViewController 并尝试使用此代码推送其他视图控制器:
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"main" bundle:nil];
MyprofileQRsViewController *rootViewController = [storyboard instantiateViewControllerWithIdentifier:@"SBMyprofileDetails"];
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:rootViewController];
[navController setViewControllers: @[rootViewController] animated: YES];
[self.revealViewController setFrontViewController:navController];
[self.revealViewController setFrontViewPosition: FrontViewPositionRight animated: YES];
它运行良好,但我无法将该视图控制器弹出到以前的视图控制器.. 我使用了所有基本的 popViewcontrollers 代码仍然无法正常工作。 我只是不知道该怎么做。 请任何机构有诀窍该怎么做请回复.. 提前谢谢....
【问题讨论】:
-
你能展示你的故事板场景吗
-
我没有看到任何
MyprofileQRsViewController -
它和其他视图控制器一样在那里(以相同的顺序)
标签: ios objective-c cocoa-touch storyboard swrevealviewcontroller