UIPageCurl过渡就像两个视图控制器之间的UIPageViewController一样?

时间:2012-05-10 19:46:55

标签: ios5 uinavigationcontroller uipagecontrol uipageviewcontroller

我希望转换类似于UIPageViewController转换,是否有可能实现它。

SecondViewController* bvc = [[SecondViewController alloc] init];

[UIView transitionWithView:self.view.window
                  duration:1.0f
                   options:UIViewAnimationOptionTransitionCurlUp
                animations:^{
                    [self.navigationController pushViewController:bvc animated:NO];
                }
                completion:NULL];

[self.navigationController pushViewController:bvc animated:YES];

如果现在我通过上面的代码实现了pageCurl(up)。但实际上想要像pageTurn那样过渡明智。有没有办法实现这个目标?

0 个答案:

没有答案