One Logo Pool Ball
CarPlay · IOS API REFERENCE

CPTemplate

class · iOS 12.0+ · SDK 27.1

@MainActor class CPTemplate

Members (11)

init

init

TypeScript
static init(): Promise<CPTemplate>
Swift declaration
init()
get · iOS 14.0+

showsTabBadge

TypeScript
get showsTabBadge(): Promise<boolean>
Swift declaration
var showsTabBadge: Bool { get set }
set · iOS 14.0+

showsTabBadge

TypeScript
setShowsTabBadge(value: boolean): Promise<void>
Swift declaration
var showsTabBadge: Bool { get set }
get · iOS 14.0+

tabImage

TypeScript
get tabImage(): Promise<(_UIKit_UIImage) | null>
Swift declaration
var tabImage: UIImage? { get set }
set · iOS 14.0+

tabImage

TypeScript
setTabImage(value?: (_UIKit_UIImage) | null): Promise<void>
Swift declaration
var tabImage: UIImage? { get set }
get · iOS 14.0+

tabSystemItem

TypeScript
get tabSystemItem(): Promise<_UIKit_UITabBarItem_SystemItem>
Swift declaration
var tabSystemItem: UITabBarItem.SystemItem { get set }
set · iOS 14.0+

tabSystemItem

TypeScript
setTabSystemItem(value: _UIKit_UITabBarItem_SystemItem): Promise<void>
Swift declaration
var tabSystemItem: UITabBarItem.SystemItem { get set }
get · iOS 14.0+

tabTitle

TypeScript
get tabTitle(): Promise<(string) | null>
Swift declaration
var tabTitle: String? { get set }
set · iOS 14.0+

tabTitle

TypeScript
setTabTitle(value?: (string) | null): Promise<void>
Swift declaration
var tabTitle: String? { get set }
get · iOS 12.0+

userInfo

TypeScript
get userInfo(): Promise<(unknown) | null>
Swift declaration
var userInfo: Any? { get set }
set · iOS 12.0+

userInfo

TypeScript
setUserInfo(value?: (unknown) | null): Promise<void>
Swift declaration
var userInfo: Any? { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All CarPlay types →