templates
The tab bar’s templates.
Declaration
var templates: [CPTemplate] { get }Discussion
The array contains the root template from each of the tab bar’s tabs. To add new templates to the tab bar, to remove or reorder existing templates, or to update a template’s tab bar appearance, use the updateTemplates(_:) method.