SwipeAnimatedTransition
@MainActor
open class SwipeAnimatedTransition : AnimatedTransition
滑动转场动画类,默认上下
-
创建滑动转场,指定转场边缘方向
Declaration
Swift
@MainActor public convenience init(edge: UIRectEdge)
-
创建滑动转场,指定进入(push|present)和消失(pop|dismiss)方向
Declaration
Swift
@MainActor public convenience init(inDirection: UISwipeGestureRecognizer.Direction, outDirection: UISwipeGestureRecognizer.Direction)
-
指定进入(push|present)方向,默认上滑Up
Declaration
Swift
@MainActor open var inDirection: UISwipeGestureRecognizer.Direction
-
指定消失(pop|dismiss)方向,默认下滑Down
Declaration
Swift
@MainActor open var outDirection: UISwipeGestureRecognizer.Direction { get set }
-
Declaration
Swift
@MainActor override open func animate()