TransformAnimatedTransition
@MainActor
open class TransformAnimatedTransition : AnimatedTransition
形变转场动画类,默认缩放
-
创建Alert转场动画
Declaration
Swift
@MainActor public static func alertTransition() -> TransformAnimatedTransition
-
创建形变转场,指定进入(push|present)和消失(pop|dismiss)形变
Declaration
Swift
@MainActor public convenience init(inTransform: CGAffineTransform, outTransform: CGAffineTransform)
-
指定进入(push|present)形变,默认缩放0.01
Declaration
Swift
@MainActor open var inTransform: CGAffineTransform
-
指定消失(pop|dismiss)形变,默认缩放0.01
Declaration
Swift
@MainActor open var outTransform: CGAffineTransform
-
是否启用透明度动画,默认true
Declaration
Swift
@MainActor open var alphaAnimation: Bool
-
Declaration
Swift
@MainActor override open func animate()