AXTransitionInfo
final class AXTransitionInfo : NSObject
AXTransitionInfo
-
This value determines whether or not the user can dismiss the
PhotosViewController
by panning vertically.Declaration
Swift
@objc fileprivate(set) var interactiveDismissalEnabled: Bool
-
The view the the transition controller should use for contextual animation during the presentation. If the reference view that is provided is not currently visible, contextual animation will not occur.
Declaration
Swift
@objc fileprivate(set) weak var startingView: UIImageView?
-
The view the the transition controller should use for contextual animation during the dismissal. If the reference view that is provided is not currently visible, contextual animation will not occur.
Declaration
Swift
@objc fileprivate(set) weak var endingView: UIImageView?
-
Internal closure to be called upon dismissal. This will resolve the
endingView
variable.Declaration
Swift
var resolveEndingViewClosure: ((AXPhotoProtocol, Int) -> Void)?
-
The damping ratio for the presentation animation as it approaches its quiescent state. To smoothly decelerate the animation without oscillation, use a value of 1. Employ a damping ratio closer to zero to increase oscillation. Defaults to 1.
Declaration
Swift
var presentationSpringDampingRatio: CGFloat
-
The damping ratio for the dismissal animation as it approaches its quiescent state. To smoothly decelerate the animation without oscillation, use a value of 1. Employ a damping ratio closer to zero to increase oscillation. Defaults to 1.
Declaration
Swift
var dismissalSpringDampingRatio: CGFloat
-
The fading backdrop that is displayed while the photo viewer is presenting/dismissing. This closure will be called during presentation and dismissal. Defaults to a black backdrop view.
Declaration
Swift
var fadingBackdropView: () -> UIView
-
The duration of the transition.
Declaration
Swift
var duration: TimeInterval