<!--
{
  "availability" : [
    "iOS: 3.2.0 -",
    "iPadOS: 3.2.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIGraphicsAddPDFContextDestinationAtPoint(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@F@UIGraphicsAddPDFContextDestinationAtPoint"
  },
  "title" : "UIGraphicsAddPDFContextDestinationAtPoint(_:_:)"
}
-->

# UIGraphicsAddPDFContextDestinationAtPoint(_:_:)

Creates a jump destination in the current page.

```
func UIGraphicsAddPDFContextDestinationAtPoint(_ name: String, _ point: CGPoint)
```

## Parameters

`name`

The name of the destination point. The name you assign is local to the PDF document and is what you use when creating links to this destination.

`point`

A point on the current page of the PDF context.

## Discussion

This function marks the specified point in the current page as the destination of a jump. When the user taps a link that takes them to this jump destination, the PDF document scrolls until the specified point is visible.

If the current graphics context is not a PDF context, this function does nothing.

For information on how to create links to this destination, see the [`UIGraphicsSetPDFContextDestinationForRect(_:_:)`](/documentation/UIKit/UIGraphicsSetPDFContextDestinationForRect(_:_:)) function.

---

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)