cancel
TypeScriptcancel(): Promise<void>Swift declarationfunc cancel()class · iOS 10.0+ · SDK 27.1
@MainActor class UIPreviewInteractioncancel(): Promise<void>Swift declarationfunc cancel()static init(view: UIView): Promise<UIPreviewInteraction>Swift declarationinit(view: UIView)location(coordinateSpace?: (SDKHandle) | null): Promise<{ x: number; y: number }>Swift declarationfunc location(in coordinateSpace: (any UICoordinateSpace)?) -> CGPointget delegate(): Promise<(SDKHandle) | null>Swift declarationweak var delegate: (any UIPreviewInteractionDelegate)? { get set }setDelegate(value?: (Implements<UIPreviewInteractionDelegate> | SDKHandle) | null): Promise<void>Swift declarationweak var delegate: (any UIPreviewInteractionDelegate)? { get set }get view(): Promise<(UIView) | null>Swift declarationweak var view: UIView? { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UIPreviewInteraction.init()
inherited init: cannot prove legal (class declares 1 custom initializer)