Contents

pointerInteraction(_:regionFor:defaultRegion:)

Asks the delegate for a region as the pointer moves within the interaction’s view.

Declaration

optional func pointerInteraction(_ interaction: UIPointerInteraction, regionFor request: UIPointerRegionRequest, defaultRegion: UIPointerRegion) -> UIPointerRegion?

Parameters

Return Value

A UIPointerRegion in which to apply a pointer style. Return nil to indicate that this interaction typically doesn’t customize the pointer for the current location.

See Also

Defining pointer styles for regions