我真的不喜欢这种翻转过渡。这很无聊。我想看到一些很酷的东西,比如水效果、雾或其他。有什么可用的,还是我必须(重新)为此发明轮子?
问问题
9057 次
2 回答
17
可用的动画类型[CATransition animation]
有:
kCATransitionFade
kCATransitionPush
kCATransitionMoveIn
kCATransitionReveal
@"suckEffect"
@"spewEffect"
@"genieEffect"
@"unGenieEffect"
@"rippleEffect"
@"twist"
@"tubey"
@"swirl"
@"charminUltra"
@"zoomyIn"
@"zoomyOut"
可用的转换类型[UIView setAnimationTransition:forView:cache:]
有:
UIViewAnimationTransitionFlipFromLeft
UIViewAnimationTransitionFlipFromRight
UIViewAnimationTransitionCurlUp
UIViewAnimationTransitionCurlDown
于 2009-05-05T19:53:52.610 回答
-1
The iPhone SDK comes with a whole bunch of built in animations. rpetrich listed some of them and I do believe that there are more.
For example using the UINavigationController class provides stock animation which, while simple, is quite effective.
于 2009-05-05T19:58:21.757 回答