init
TypeScriptstatic init(url: string): Promise<UIDocumentInteractionController>Swift declarationinit(url: URL)class · iOS 3.2+ · SDK 27.1
@MainActor class UIDocumentInteractionControllerstatic init(url: string): Promise<UIDocumentInteractionController>Swift declarationinit(url: URL)dismissMenu(animated: boolean): Promise<void>Swift declarationfunc dismissMenu(animated: Bool)dismissPreview(animated: boolean): Promise<void>Swift declarationfunc dismissPreview(animated: Bool)presentOpenInMenuFromAnimated(item: UIBarButtonItem, animated: boolean): Promise<boolean>Swift declarationfunc presentOpenInMenu(from item: UIBarButtonItem, animated: Bool) -> BoolpresentOpenInMenuFromInAnimated(rect: { x: number; y: number; width: number; height: number }, view: UIView, animated: boolean): Promise<boolean>Swift declarationfunc presentOpenInMenu(from rect: CGRect, in view: UIView, animated: Bool) -> BoolpresentOptionsMenuFromAnimated(item: UIBarButtonItem, animated: boolean): Promise<boolean>Swift declarationfunc presentOptionsMenu(from item: UIBarButtonItem, animated: Bool) -> BoolpresentOptionsMenuFromInAnimated(rect: { x: number; y: number; width: number; height: number }, view: UIView, animated: boolean): Promise<boolean>Swift declarationfunc presentOptionsMenu(from rect: CGRect, in view: UIView, animated: Bool) -> BoolpresentPreview(animated: boolean): Promise<boolean>Swift declarationfunc presentPreview(animated: Bool) -> Boolget url(): Promise<(string) | null>Swift declarationvar url: URL? { get set }setUrl(value?: (string) | null): Promise<void>Swift declarationvar url: URL? { get set }get uti(): Promise<(string) | null>Swift declarationvar uti: String? { get set }setUti(value?: (string) | null): Promise<void>Swift declarationvar uti: String? { get set }get annotation(): Promise<(unknown) | null>Swift declarationvar annotation: Any? { get set }setAnnotation(value?: (unknown) | null): Promise<void>Swift declarationvar annotation: Any? { get set }get delegate(): Promise<(SDKHandle) | null>Swift declarationweak var delegate: (any UIDocumentInteractionControllerDelegate)? { get set }setDelegate(value?: (Implements<UIDocumentInteractionControllerDelegate> | SDKHandle) | null): Promise<void>Swift declarationweak var delegate: (any UIDocumentInteractionControllerDelegate)? { get set }get gestureRecognizers(): Promise<Array<UIGestureRecognizer>>Swift declarationvar gestureRecognizers: [UIGestureRecognizer] { get }get icons(): Promise<Array<UIImage>>Swift declarationvar icons: [UIImage] { get }get name(): Promise<(string) | null>Swift declarationvar name: String? { get set }setName(value?: (string) | null): Promise<void>Swift declarationvar name: String? { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UIDocumentInteractionController.init()
inherited init: cannot prove legal (class declares 2 custom initializers)