<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PaperKit",
  "identifier" : "/documentation/PaperKit/PaperMarkupViewController/Delegate-swift.protocol/paperMarkupViewController(_:didUpdateAdornmentWithID:toAnchor:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PaperKit"
    ],
    "preciseIdentifier" : "s:8PaperKit0A20MarkupViewControllerC8DelegateP05papercdE0_24didUpdateAdornmentWithID8toAnchoryAC_10Foundation4UUIDVAA0cJ0V0N0VtF"
  },
  "title" : "paperMarkupViewController(_:didUpdateAdornmentWithID:toAnchor:)"
}
-->

# paperMarkupViewController(_:didUpdateAdornmentWithID:toAnchor:)

Tells the delegate when a drag session ends for an adornment.

```
func paperMarkupViewController(_ paperMarkupViewController: PaperMarkupViewController, didUpdateAdornmentWithID id: UUID, toAnchor anchor: MarkupAdornment.Anchor)
```

## Parameters

`paperMarkupViewController`

The `PaperMarkupViewController` containing the adornment.

`id`

The ID of the adornment that moved.

`anchor`

The updated anchor for the adornment.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)