init
TypeScriptstatic init(title: (string) | null, message: (string) | null, actions: Array<CPAlertAction>): Promise<CPActionSheetTemplate>Swift declarationinit(title: String?, message: String?, actions: [CPAlertAction])class · iOS 12.0+ · SDK 27.1
@MainActor class CPActionSheetTemplatestatic init(title: (string) | null, message: (string) | null, actions: Array<CPAlertAction>): Promise<CPActionSheetTemplate>Swift declarationinit(title: String?, message: String?, actions: [CPAlertAction])get actions(): Promise<Array<CPAlertAction>>Swift declarationvar actions: [CPAlertAction] { get }get message(): Promise<(string) | null>Swift declarationvar message: String? { get }get title(): Promise<(string) | null>Swift declarationvar title: String? { get }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)