<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.5.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/PDFActionRemoteGoTo/init(pageIndex:at:fileURL:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "PDFKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PDFActionRemoteGoTo(im)initWithPageIndex:atPoint:fileURL:"
  },
  "title" : "init(pageIndex:at:fileURL:)"
}
-->

# init(pageIndex:at:fileURL:)

Initializes the remote go-to action with the specified page index, point, and document URL.

```
init(pageIndex: Int, at point: CGPoint, fileURL url: URL)
```

## Parameters

`pageIndex`

The page index of the remote document.

`point`

The point on the page in the remote document.

`url`

The URL of the remote PDF document.

## Return Value

An initialized `PDFActionRemoteGoTo` instance, or `NULL` if the object could not be initialized.

## Discussion

The `PDFActionRemoteGoTo` object uses a zero-based page index, not a `PDFPage` object. This simplifies the handling of remote destinations for documents that may not be instantiated yet.

---

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)