One Logo Pool Ball
UIKit · IOS API REFERENCE

UIPointerInteraction

class · iOS 13.4+ · SDK 27.1

@MainActor class UIPointerInteraction

Members (5)

init · iOS 13.4+

init

TypeScript
static init(delegate?: (Implements<UIPointerInteractionDelegate> | SDKHandle) | null): Promise<UIPointerInteraction>
Swift declaration
init(delegate: (any UIPointerInteractionDelegate)?)
method · iOS 13.4+

invalidate

TypeScript
invalidate(): Promise<void>
Swift declaration
func invalidate()
get · iOS 13.4+

delegate

TypeScript
get delegate(): Promise<(SDKHandle) | null>
Swift declaration
weak var delegate: (any UIPointerInteractionDelegate)? { get }
get · iOS 13.4+

isEnabled

TypeScript
get isEnabled(): Promise<boolean>
Swift declaration
var isEnabled: Bool { get set }
set · iOS 13.4+

isEnabled

TypeScript
setIsEnabled(value: boolean): Promise<void>
Swift declaration
var isEnabled: Bool { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UIPointerInteraction.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All UIKit types →