Contents

anchor

The location of an Apple Pencil hovering in the area above the view’s bounds, expressed as a normalized anchor point relative to that view.

Declaration

let anchor: UnitPoint

Discussion

You can pass this anchor point directly to a presentation modifier like popover(isPresented:attachmentAnchor:arrowEdge:content:) or use the location property if you require an absolute point instead.

See Also

Getting the hover characteristics