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

后端 未结 2 1756
南旧
南旧 2021-01-30 07:30

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)i

2条回答
  •  清酒与你
    2021-01-30 08:25

    The animation types available via [CATransition animation] are:

    • 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:

    • UIViewAnimationTransitionFlipFromLeft
    • UIViewAnimationTransitionFlipFromRight
    • UIViewAnimationTransitionCurlUp
    • UIViewAnimationTransitionCurlDown

提交回复
热议问题