开发者

Modal View Controller transitions

开发者 https://www.devze.com 2023-04-12 22:22 出处:网络
I\'m trying to do some fanciful transitions for my iPad application. I\'m using this presentModalViewController to show another view.

I'm trying to do some fanciful transitions for my iPad application. I'm using this presentModalViewController to show another view.

But the only available transitions are:

modelViewController.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
modelViewController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
model开发者_如何学运维ViewController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
modelViewController.modalTransitionStyle = UIModalTransitionStylePartialCurl;

Are there any ways that i can have some cool or maybe 3D transitions?


You can do it with QuartzCore framework or using animation blocks. The first one is the hard way, the second one is easier but limited.

0

精彩评论

暂无评论...
验证码 换一张
取 消