PopToRootNavigationTransition

open class PopToRootNavigationTransition : BaseTransition, ViewTransition

Undocumented

  • Transition type .hide.

    Declaration

    Swift

    public let transitionType: TransitionType
  • Performs transition by calling popToRootViewController(animated:) on visibleView navigation controller.

    Declaration

    Swift

    open func perform(with view: ViewController?, on visibleView: ViewController?, completion: ((Bool) -> Void)?)

    Parameters

    view

    currently visible view

    visibleView

    currently visible view in view hierarchy

    completion

    called once transition has been completed