我在 UINavigationContoller 上下降了 2 级,已经推送了一些视图。现在,我正在查看其中一个推送视图控制器中的图像,当我点击导航栏中的信息按钮时,我希望子视图翻转而使导航栏保持在原位。如何让子视图(被推送的视图)翻转?现在导航栏也翻转并阻止我导航回到我的堆栈。
-(void)showImageInfo
{
self.imgInfoViewController = [[ImageInfoViewController alloc] initWithNibName:@"ImageInfoViewController" bundle:nil];
[self.imgInfoViewController setModalTransitionStyle:UIModalTransitionStyleFlipHorizontal];
[self.navigationController presentModalViewController:self.imgInfoViewController animated:YES];
}