1

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 のようなトランジションが必要です。これを達成する方法はありますか?

4

0 に答える 0