Instance Method

dismissTemplate(animated:)

Dismisses the template that the interface controller is displaying modally.

Declaration

func dismissTemplate(animated: Bool)

Parameters

animated

A Boolean value that indicates whether the system animates the dismissal of the template. Set to true to animate the transition.

Discussion

Calling this method when there’s no modal template displayed has no effect.

See Also

Displaying Templates Modally

var presentedTemplate: CPTemplate?

The current modal template displayed by the interface controller.