UIKit · IOS API REFERENCE
UIPreviewAction
class · iOS 9.0+ · Deprecated in iOS 13.0 · SDK 27.1
@MainActor class UIPreviewAction
Members (2)
init · iOS 9.0+ · Deprecated in iOS 13.0init
TypeScriptstatic init(title: string, style: UIPreviewAction_Style, handler: ((arg0: UIPreviewAction, arg1: UIViewController) => void)): Promise<UIPreviewAction>
Swift declarationconvenience init(title: String, style: UIPreviewAction.Style, handler: @escaping (UIPreviewAction, UIViewController) -> Void)
get · iOS 9.0+ · Deprecated in iOS 13.0handler
TypeScriptget handler(): Promise<((arg0: SDKHandle, arg1: UIViewController) => Promise<void>)>
Swift declarationvar handler: (any UIPreviewActionItem, UIViewController) -> Void { get }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UIPreviewAction.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All UIKit types →