Contents

PointerStyle

A style describing the appearance of the pointer (also called a cursor) when it’s hovered over a view.

Declaration

struct PointerStyle

Overview

Use the pointerStyle(_:) view modifier to set a view’s pointer style.

For guidance on choosing an appropriate pointer style, refer to Pointing devices in the Human Interface Guidelines.

Topics

Getting built-in pointer styles

Creating custom pointer styles

Supporting types

Type Properties

See Also

Modifying pointer appearance