我正在使用 uitapgestures,我想要一个 uiviewcontroller 导航到另一个带有翻转动画的控制器。我尝试使用 uimodaltransitionflip,它可以工作,但下一个控制器上的按钮将无法工作。我该怎么做呢?
对于此代码,该按钮适用于其他页面。
- (void)imageView1DoubleTapped:(UITapGestureRecognizer *)gestureRecognizer
{
GFStoryBoardViewController *gfsb = [[GFStoryBoardViewController alloc]initWithNibName:nil bundle:nil];
[self.navigationController pushViewController:gfsb animated:YES];
}
对于此代码,该按钮在下一页上不起作用
- (void)imageView2DoubleTapped:(UITapGestureRecognizer *)gestureRecognizer
{
SBStoryBoardViewController *sbsb = [[SBStoryBoardViewController alloc]initWithNibName:nil bundle:nil];
sbsb.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self.navigationController presentModalViewController:sbsb animated:YES];
}