canPrint
TypeScriptstatic canPrint(data: ArrayBuffer): Promise<boolean>Swift declarationclass func canPrint(_ data: Data) -> Boolclass · iOS 4.2+ · SDK 27.1
@MainActor class UIPrintInteractionControllerstatic canPrint(data: ArrayBuffer): Promise<boolean>Swift declarationclass func canPrint(_ data: Data) -> Boolstatic canPrint60043(url: string): Promise<boolean>Swift declarationclass func canPrint(_ url: URL) -> Boolstatic get printableUTIs(): Promise<Array<string>>Swift declarationclass var printableUTIs: Set<String> { get }static get isPrintingAvailable(): Promise<boolean>Swift declarationclass var isPrintingAvailable: Bool { get }static get shared(): Promise<UIPrintInteractionController>Swift declarationclass var shared: UIPrintInteractionController { get }dismiss(animated: boolean): Promise<void>Swift declarationfunc dismiss(animated: Bool)static init(): Promise<UIPrintInteractionController>Swift declarationinit()presentAnimatedCompletionHandler(animated: boolean, completion?: (((arg0: UIPrintInteractionController, arg1: boolean, arg2: (NativeError) | null) => void)) | null): Promise<boolean>Swift declarationfunc present(animated: Bool, completionHandler completion: UIPrintInteractionController.CompletionHandler? = nil) -> BoolpresentFromAnimatedCompletionHandler(item: UIBarButtonItem, animated: boolean, completion?: (((arg0: UIPrintInteractionController, arg1: boolean, arg2: (NativeError) | null) => void)) | null): Promise<boolean>Swift declarationfunc present(from item: UIBarButtonItem, animated: Bool, completionHandler completion: UIPrintInteractionController.CompletionHandler? = nil) -> BoolpresentFromInAnimatedCompletionHandler(rect: { x: number; y: number; width: number; height: number }, view: UIView, animated: boolean, completion?: (((arg0: UIPrintInteractionController, arg1: boolean, arg2: (NativeError) | null) => void)) | null): Promise<boolean>Swift declarationfunc present(from rect: CGRect, in view: UIView, animated: Bool, completionHandler completion: UIPrintInteractionController.CompletionHandler? = nil) -> Boolprint(printer: UIPrinter, completion?: (((arg0: UIPrintInteractionController, arg1: boolean, arg2: (NativeError) | null) => void)) | null): Promise<boolean>Swift declarationfunc print(to printer: UIPrinter, completionHandler completion: UIPrintInteractionController.CompletionHandler? = nil) -> Boolget delegate(): Promise<(SDKHandle) | null>Swift declarationweak var delegate: (any UIPrintInteractionControllerDelegate)? { get set }setDelegate(value?: (Implements<UIPrintInteractionControllerDelegate> | SDKHandle) | null): Promise<void>Swift declarationweak var delegate: (any UIPrintInteractionControllerDelegate)? { get set }get printFormatter(): Promise<(UIPrintFormatter) | null>Swift declarationvar printFormatter: UIPrintFormatter? { get set }setPrintFormatter(value?: (UIPrintFormatter) | null): Promise<void>Swift declarationvar printFormatter: UIPrintFormatter? { get set }get printInfo(): Promise<(UIPrintInfo) | null>Swift declarationvar printInfo: UIPrintInfo? { get set }setPrintInfo(value?: (UIPrintInfo) | null): Promise<void>Swift declarationvar printInfo: UIPrintInfo? { get set }get printPageRenderer(): Promise<(UIPrintPageRenderer) | null>Swift declarationvar printPageRenderer: UIPrintPageRenderer? { get set }setPrintPageRenderer(value?: (UIPrintPageRenderer) | null): Promise<void>Swift declarationvar printPageRenderer: UIPrintPageRenderer? { get set }get printPaper(): Promise<(UIPrintPaper) | null>Swift declarationvar printPaper: UIPrintPaper? { get }get printingItem(): Promise<(unknown) | null>Swift declarationvar printingItem: Any? { get set }setPrintingItem(value?: (unknown) | null): Promise<void>Swift declarationvar printingItem: Any? { get set }get printingItems(): Promise<(Array<unknown>) | null>Swift declarationvar printingItems: [Any]? { get set }setPrintingItems(value?: (Array<unknown>) | null): Promise<void>Swift declarationvar printingItems: [Any]? { get set }get showsNumberOfCopies(): Promise<boolean>Swift declarationvar showsNumberOfCopies: Bool { get set }setShowsNumberOfCopies(value: boolean): Promise<void>Swift declarationvar showsNumberOfCopies: Bool { get set }get showsPageRange(): Promise<boolean>Swift declarationvar showsPageRange: Bool { get set }setShowsPageRange(value: boolean): Promise<void>Swift declarationvar showsPageRange: Bool { get set }get showsPaperOrientation(): Promise<boolean>Swift declarationvar showsPaperOrientation: Bool { get set }setShowsPaperOrientation(value: boolean): Promise<void>Swift declarationvar showsPaperOrientation: Bool { get set }get showsPaperSelectionForLoadedPapers(): Promise<boolean>Swift declarationvar showsPaperSelectionForLoadedPapers: Bool { get set }setShowsPaperSelectionForLoadedPapers(value: boolean): Promise<void>Swift declarationvar showsPaperSelectionForLoadedPapers: Bool { get set }No declarations were skipped in this snapshot.