Contents

presentTemplate(_:animated:)

Presents a template modally.

Declaration

func presentTemplate(_ templateToPresent: CPTemplate, animated: Bool)

Parameters

  • templateToPresent:

    A template to display over currently displayed content on the CarPlay screen. The template must be one of the following types:

  • animated:

    A Boolean value that indicates whether the system animates the display of transitioning templates. Set to True to animate the transition.

Discussion

You can present only one template at a time.

See Also

Deprecated Methods