pointerVisibility(_:)
Sets the visibility of the pointer when it’s over the view.
Declaration
nonisolated func pointerVisibility(_ visibility: Visibility) -> some View
Parameters
- visibility:
The pointer visibility to apply.
Return Value
A view that changes the visibility of the pointer when hovered.