简体   繁体   English

模态视图控制器转换

[英]Modal View Controller transitions

I'm trying to do some fanciful transitions for my iPad application. 我正试图为我的iPad应用程序做一些奇特的过渡。 I'm using this presentModalViewController to show another view. 我正在使用这个presentModalViewController来显示另一个视图。

But the only available transitions are: 但唯一可用的转换是:

modelViewController.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
modelViewController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
modelViewController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
modelViewController.modalTransitionStyle = UIModalTransitionStylePartialCurl;

Are there any ways that i can have some cool or maybe 3D transitions? 有什么方法可以让我有一些很酷或3D转换?

You can do it with QuartzCore framework or using animation blocks . 您可以使用QuartzCore框架或使用动画块来完成 The first one is the hard way, the second one is easier but limited. 第一个是艰难的方式,第二个是更容易但有限的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM