简体   繁体   English

是否有任何第三方库可以在iPhone OS中进行酷视图转换?

[英]Are there any third-party libraries to do cool view transitions in iPhone OS?

I don't really like that flip-transition. 我真的不喜欢那种翻转过渡。 It's boring. 这很无聊。 I'd like to see something cool, like water effect, fog, or whatever. 我希望看到一些很酷的东西,比如水效果,雾气等等。 Is there something available or do I have to (re)invent the wheel for that? 有没有可用的东西,或者我必须(重新)为此发明轮子?

The animation types available via [CATransition animation] are: 通过[CATransition animation]提供的动画类型是:

  • kCATransitionFade
  • kCATransitionPush
  • kCATransitionMoveIn
  • kCATransitionReveal
  • @"suckEffect"
  • @"spewEffect"
  • @"genieEffect"
  • @"unGenieEffect"
  • @"rippleEffect"
  • @"twist"
  • @"tubey"
  • @"swirl"
  • @"charminUltra"
  • @"zoomyIn"
  • @"zoomyOut"

The transition types available via [UIView setAnimationTransition:forView:cache:] are: 通过[UIView setAnimationTransition:forView:cache:]提供的转换类型是:

  • UIViewAnimationTransitionFlipFromLeft
  • UIViewAnimationTransitionFlipFromRight
  • UIViewAnimationTransitionCurlUp
  • UIViewAnimationTransitionCurlDown

The iPhone SDK comes with a whole bunch of built in animations. iPhone SDK附带了一大堆内置动画。 rpetrich listed some of them and I do believe that there are more. rpetrich列出了其中一些,我相信还有更多。

For example using the UINavigationController class provides stock animation which, while simple, is quite effective. 例如,使用UINavigationController类提供股票动画,虽然简单,但却非常有效。

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

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