init
TypeScriptstatic init(handler?: (((arg0: CPMapButton) => void)) | null): Promise<CPMapButton>Swift declarationinit(handler: ((CPMapButton) -> Void)? = nil)class · iOS 12.0+ · SDK 27.1
@MainActor class CPMapButtonstatic init(handler?: (((arg0: CPMapButton) => void)) | null): Promise<CPMapButton>Swift declarationinit(handler: ((CPMapButton) -> Void)? = nil)get isEnabled(): Promise<boolean>Swift declarationvar isEnabled: Bool { get set }setIsEnabled(value: boolean): Promise<void>Swift declarationvar isEnabled: Bool { get set }get focusedImage(): Promise<(_UIKit_UIImage) | null>Swift declarationvar focusedImage: UIImage? { get set }setFocusedImage(value?: (_UIKit_UIImage) | null): Promise<void>Swift declarationvar focusedImage: UIImage? { get set }get isHidden(): Promise<boolean>Swift declarationvar isHidden: Bool { get set }setIsHidden(value: boolean): Promise<void>Swift declarationvar isHidden: Bool { get set }get image(): Promise<(_UIKit_UIImage) | null>Swift declarationvar image: UIImage? { get set }setImage(value?: (_UIKit_UIImage) | null): Promise<void>Swift declarationvar image: UIImage? { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
CPMapButton.init()
inherited init: cannot prove legal (class declares 1 custom initializer)