左右方向にUIViewAnimationTransitionCurlを使用する方法はありますか?あなたがそうでなければ、あなたがこのような何かを試みることができる新しいUIPageViewController左右方向のUIViewAnimationTransitionCurl
を使用することができ要件としてのiOS 5を気にしない場合は
左右方向にUIViewAnimationTransitionCurlを使用する方法はありますか?あなたがそうでなければ、あなたがこのような何かを試みることができる新しいUIPageViewController左右方向のUIViewAnimationTransitionCurl
を使用することができ要件としてのiOS 5を気にしない場合は
あなたはUIPageViewController
を使用し、iOSの5を標的にしている場合。最後の15分のUIViewControllerコンテナの実装WWDC 2011からのビデオの使用方法が説明されています。
:私は連絡先アプリに似たものを探しています:
self.appDelegate = [[UIApplication sharedApplication] delegate];
UIViewController *srcViewController = (UIViewController *) self.sourceViewController;
UIViewController *destViewController = (UIViewController *) self.destinationViewController;
[UIView commitAnimations];
[UIView beginAnimations:@"View Flip" context:nil];
[UIView setAnimationDuration:1.25];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationTransition: UIViewAnimationTransitionFlipFromRight forView:self.appDelegate.window.rootViewController.view.superview cache:YES];
[srcViewController.view removeFromSuperview];
[UIView commitAnimations];
[self.appDelegate.window addSubview:destViewController.view];
self.appDelegate.window.rootViewController=destViewController;
乾杯....
実際に私は単純なUIViewを変更するだろう... '[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:rightPage cache:YES];'これはUIViewで機能するのですか? –