Instance Method

popTemplate(animated:)

Pops the top template from the navigation stack and updates the CarPlay display.

Declaration

func popTemplate(animated: Bool)

Parameters

animated

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

See Also

Pushing and Popping Templates

func pushTemplate(CPTemplate, animated: Bool)

Pushes a template onto the navigation stack and updates the CarPlay display.

func popToRootTemplate(animated: Bool)

Pops all templates on the stack—except the root template—and updates the CarPlay display.

func pop(to: CPTemplate, animated: Bool)

Pops templates until the specified template is at the top of the navigation stack.