<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PKPaymentAuthorizationControllerDelegate/presentationWindow(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:objc(pl)PKPaymentAuthorizationControllerDelegate(im)presentationWindowForPaymentAuthorizationController:"
  },
  "title" : "presentationWindow(for:)"
}
-->

# presentationWindow(for:)

Returns the window in which to present a payment authorization sheet.

```
optional func presentationWindow(for controller: PKPaymentAuthorizationController) -> UIWindow?
```

## Parameters

`controller`

The controller for the payment authorization sheet.

## Return Value

The window in which to present the payment authorization sheet.

## Discussion

---

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)