Instance Property

isMovingFromParent

A Boolean value indicating whether the view controller is being removed from a parent view controller.

Declaration

var isMovingFromParent: Bool { get }

See Also

Responding to View-Related Events

func viewWillAppear(Bool)

Notifies the view controller that its view is about to be added to a view hierarchy.

func viewDidAppear(Bool)

Notifies the view controller that its view was added to a view hierarchy.

func viewWillDisappear(Bool)

Notifies the view controller that its view is about to be removed from a view hierarchy.

func viewDidDisappear(Bool)

Notifies the view controller that its view was removed from a view hierarchy.

var isBeingDismissed: Bool

A Boolean value indicating whether the view controller is being dismissed.

var isBeingPresented: Bool

A Boolean value indicating whether the view controller is being presented.

var isMovingToParent: Bool

A Boolean value indicating whether the view controller is being moved to a parent view controller.