presentationWindow(for:)
Returns the window in which to present a payment authorization sheet.
Declaration
optional func presentationWindow(for controller: PKPaymentAuthorizationController) -> UIWindow?func presentationWindow(for controller: PKPaymentAuthorizationController) -> UIWindow?func presentationWindow(for controller: PKPaymentAuthorizationController) -> NSWindow?Parameters
- controller:
The controller for the payment authorization sheet.
Return Value
The window in which to present the payment authorization sheet.