Different types of CATransition types available in iPhone sdk

前端 未结 3 1084
心在旅途
心在旅途 2021-01-30 18:35

Do anyone knows the link to the different types of name for available CATransition.

Like ripple,swift....

I want to know all the available names.

相关标签:
3条回答
  • 2021-01-30 19:16

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

    Here are the available types.

    0 讨论(0)
  • 2021-01-30 19:23

    These are the types that are available:

    kCATransitionFade
    kCATransitionMoveIn
    kCATransitionPush
    kCATransitionReveal
    @"cameraIris"
    @"cameraIrisHollowOpen"
    @"cameraIrisHollowClose"
    @"cube"
    @"alignedCube"
    @"flip"
    @"alignedFlip"
    @"oglFlip"
    @"rotate"
    @"pageCurl"
    @"pageUnCurl"
    @"rippleEffect"
    @"suckEffect"
    

    Subtypes that are available are:

    kCATransitionFromRight
    kCATransitionFromLeft
    kCATransitionFromTop
    kCATransitionFromBottom
    

    The ones in the link @rkb posted are mostly private and cannot be used.

    0 讨论(0)
  • 2021-01-30 19:35

    Have you looked at the documentation for CATransition? They're all listed at the bottom (there's a link to the list in the documentation for -type and -subType). There is no "ripple" or "swift." Where are you getting those from?

    0 讨论(0)
提交回复
热议问题