Instance Method

pushTemplate:animated:

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

Declaration

- (void)pushTemplate:(__kindof CPTemplate *)templateToPush animated:(BOOL)animated;

Parameters

templateToPush

The template to push onto the navigation stack.

animated

Set to YES to animate the presentation of the template.

See Also

Pushing and Popping Templates

- popTemplateAnimated:

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

- popToRootTemplateAnimated:

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

- popToTemplate:animated:

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