paperMarkupViewController(_:willUpdateAdornmentWithID:toProposedAnchor:)
Asks the delegate to validate and potentially adjust an adornment’s proposed anchor position.
Declaration
func paperMarkupViewController(_ paperMarkupViewController: PaperMarkupViewController, willUpdateAdornmentWithID adornmentID: UUID, toProposedAnchor proposedAnchor: MarkupAdornment.Anchor) -> MarkupAdornment.Anchor?Parameters
- paperMarkupViewController:
The
PaperMarkupViewControllercontaining the adornment. - adornmentID:
The unique identifier of the adornment the person is moving.
- proposedAnchor:
The proposed new anchor position for the adornment.
Return Value
The final anchor position to use for the adornment, or nil to deny the move.