我正在使用带有情节提要的 xcode 5.1.1。我在主菜单上有一个按钮,它使用此代码弹出到另一个视图控制器
VC *secondVC = [[VC alloc] init];
[self presentViewController:secondVC animated:YES completion: nil];
我有这个代码的后退按钮
[self dismissViewControllerAnimated:YES completion: nil];
当我弹出到 secondVC xcode 给我的是错误:
不鼓励在分离的视图控制器上呈现视图控制器
<UINavigationController: 0x8c94510>
。
我也有旋转的问题,它不能正常工作。