pop(to:animated:)
Pops templates until the specified template is at the top of the navigation stack.
Declaration
func pop(to targetTemplate: CPTemplate, animated: Bool)Parameters
- targetTemplate:
The template that you want at the top of the stack. The template must be on the navigation stack before you call this method.
- animated:
A Boolean value that indicates whether the system animates the display of transitioning templates. Set to True to animate the transition.