FWTransformAnimatedTransition


@interface FWTransformAnimatedTransition : FWAnimatedTransition

形变转场动画类,默认缩放

  • 创建形变转场,指定进入(push|present)和消失(pop|dismiss)形变

    Declaration

    Objective-C

    + (nonnull instancetype)transitionWithInTransform:(CGAffineTransform)inTransform
                                         outTransform:
                                             (CGAffineTransform)outTransform;
  • 指定进入(push|present)形变,默认缩放0.01

    Declaration

    Objective-C

    @property (nonatomic) CGAffineTransform inTransform;
  • 指定消失(pop|dismiss)形变,默认缩放0.01

    Declaration

    Objective-C

    @property (nonatomic) CGAffineTransform outTransform;