Contents

hoverPose

The location and distance of an Apple Pencil hovering in the area above the view’s bounds when the squeeze gesture occurred.

Declaration

let hoverPose: PencilHoverPose?

Discussion

If the Apple Pencil was hovering in the area above the view’s bounds when the user squeezed their Apple Pencil, this property describes its pose relative to that view.

Conversely, if the Apple Pencil wasn’t hovering in the area above the view’s bounds or if the device can’t detect a hovering Apple Pencil, this property is nil.