init
TypeScriptstatic init(coder: _Foundation_NSCoder): Promise<(UIMenuElement) | null>Swift declarationinit?(coder: NSCoder)class · iOS 13.0+ · SDK 27.1
@MainActor class UIMenuElementstatic init(coder: _Foundation_NSCoder): Promise<(UIMenuElement) | null>Swift declarationinit?(coder: NSCoder)get highlightStateUpdateHandler(): Promise<(((arg0: UIMenuElement, arg1: boolean) => Promise<void>)) | null>Swift declarationvar highlightStateUpdateHandler: ((UIMenuElement, Bool) -> Void)? { get set }setHighlightStateUpdateHandler(value?: (((arg0: UIMenuElement, arg1: boolean) => void)) | null): Promise<void>Swift declarationvar highlightStateUpdateHandler: ((UIMenuElement, Bool) -> Void)? { get set }get image(): Promise<(UIImage) | null>Swift declarationvar image: UIImage? { get }get preferredImageVisibility(): Promise<UIMenuElement_ImageVisibility>Swift declarationvar preferredImageVisibility: UIMenuElement.ImageVisibility { get set }setPreferredImageVisibility(value: UIMenuElement_ImageVisibility): Promise<void>Swift declarationvar preferredImageVisibility: UIMenuElement.ImageVisibility { get set }get subtitle(): Promise<(string) | null>Swift declarationvar subtitle: String? { get set }setSubtitle(value?: (string) | null): Promise<void>Swift declarationvar subtitle: String? { get set }get title(): Promise<string>Swift declarationvar title: String { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UIMenuElement.init()
inherited init: clang: 'init' is unavailable