pointerInteraction(_:styleFor:)
Asks the delegate for a pointer style after an interaction receives a new region.
Declaration
optional func pointerInteraction(_ interaction: UIPointerInteraction, styleFor region: UIPointerRegion) -> UIPointerStyle?Parameters
- interaction:
This Uipointerinteraction.
- region:
The Uipointerregion that represents the entire surface of the interaction’s view.
Return Value
A UIPointerStyle describing the desired hover effect or pointer appearance for the given UIPointerRegion.