One Logo Pool Ball
CarPlay · IOS API REFERENCE

CPActionSheetTemplate

class · iOS 12.0+ · SDK 27.1

@MainActor class CPActionSheetTemplate

Members (4)

init · iOS 12.0+

init

TypeScript
static init(title: (string) | null, message: (string) | null, actions: Array<CPAlertAction>): Promise<CPActionSheetTemplate>
Swift declaration
init(title: String?, message: String?, actions: [CPAlertAction])
get · iOS 12.0+

actions

TypeScript
get actions(): Promise<Array<CPAlertAction>>
Swift declaration
var actions: [CPAlertAction] { get }
get · iOS 12.0+

message

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

title

TypeScript
get title(): Promise<(string) | null>
Swift declaration
var title: String? { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

CPActionSheetTemplate.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All CarPlay types →