Instance Method

setRootTemplate:animated:

Sets the root template, starting a new stack for the template navigation hierarchy.

Declaration

- (void)setRootTemplate:(__kindof CPTemplate *)rootTemplate animated:(BOOL)animated;

Parameters

rootTemplate

The root template. Replaces the current rootTemplate, if one exists.

animated

Set to YES to animate the presentation of the root template; ignored if there isn't a current rootTemplate.

See Also

Configuring the Interface Controller

delegate

An object serving as the delegate to the interface controller.

CPInterfaceControllerDelegate

The interface that an object implements to serve as a delegate to an interface controller.