setRootTemplate(_:animated:)
Sets the root template, starting a new stack for the template navigation hierarchy.
Declaration
func setRootTemplate(_ rootTemplate: CPTemplate, animated: Bool)Parameters
- rootTemplate:
The root template. Replaces the current Roottemplate, if one exists.
- animated:
Set to True to animate the presentation of the root template; ignored if there isn’t a current Roottemplate.