init
TypeScriptstatic init(image: _UIKit_UIImage, handler?: (((arg0: CPButton) => void)) | null): CPButtonSwift declarationinit(image: UIImage, handler: ((CPButton) -> Void)? = nil)class · iOS 14.0+ · SDK 27.1
class CPButtonstatic init(image: _UIKit_UIImage, handler?: (((arg0: CPButton) => void)) | null): CPButtonSwift declarationinit(image: UIImage, handler: ((CPButton) -> Void)? = nil)get isEnabled(): booleanSwift declarationvar isEnabled: Bool { get set }set isEnabled(value: boolean)Swift declarationvar isEnabled: Bool { get set }get image(): (_UIKit_UIImage) | nullSwift declaration@NSCopying var image: UIImage? { get }get title(): (string) | nullSwift declarationvar title: String? { get set }set title(value: (string) | null)Swift declarationvar title: String? { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
CPButton.init()
inherited init: cannot prove legal (class declares 1 custom initializer)