PresentationTransition
open class PresentationTransition : BaseTransition, ViewTransition
Class, that encapsulates UIViewController.present(_:animated:) method call as a transition.
-
Transition type .show
Declaration
Swift
public let transitionType: TransitionType
-
Performs transition by calling
present(_:animated:)
onvisibleView
withview
argument.Declaration
Swift
public func perform(with view: ViewController?, on visibleView: ViewController?, completion: ((Bool) -> Void)?)
Parameters
view
view that is being presented.
visibleView
visible view, on which presentation will being performed.
completion
called once presentation has been completed.