zoom-transition-controller-properties
zoomAnimator
Object for animation changes.
public private(set) lazy var zoomAnimator
fromImageView
UIImageView
that is being presented.
public weak var fromImageView: UIImageView?
presentedVCImageView
Closure for UIImageView
in the presented view controller.
public var presentedVCImageView: (() -> UIImageView?)?
presentingImageView
Closure for UIImageView
that is in the presenting view controller.
public var presentingImageView: (() -> UIImageView?)?
interactionController
Controller for interactive dismissal
public private(set) lazy var interactionController
isInteractive
Indicates whether the current transition is interactive or not.
public var isInteractive: Bool = false
Methods
animationController(forPresented:presenting:source:)
open func animationController(
forPresented presented: UIViewController,
presenting: UIViewController,
source: UIViewController
) -> UIViewControllerAnimatedTransitioning?
animationController(forDismissed:)
open func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning?
interactionControllerForDismissal(using:)
open func interactionControllerForDismissal(using animator: UIViewControllerAnimatedTransitioning)
-> UIViewControllerInteractiveTransitioning?
handlePan(with:)
Update interactive dismissal.
open func handlePan(with gestureRecognizer: UIPanGestureRecognizer)