Contents

shouldRemovePresentersView

A Boolean value indicating whether the presenting view controller’s view should be removed when the presentation animations finish.

Declaration

var shouldRemovePresentersView: Bool { get }

Return Value

true if the view should be removed or false if it should not.

Discussion

The default implementation of this method returns false. If you implement a presentation that does not cover the presenting view controller’s content entirely, override this method and return false.

If you override this method, do not call super.

See Also

Getting the presentation attributes