Is there any way to detect when the Cancel button it touched on an Apple Pay PKPaymentAuthorizationViewController?

Viewed 2680

Apple Pay calls the following delegate whenever a PKPaymentAuthorizationViewController is dismissed for any reason. Is there any way to detect if just the Cancel button was touched?

- (void)paymentAuthorizationViewControllerDidFinish:(PKPaymentAuthorizationViewController *)controller
{
    [self dismissViewControllerAnimated:YES completion:nil];
}

enter image description here

1 Answers
Related