Instance Method

paymentQueueShouldShowPriceConsent:

Asks the delegate whether to immediately display a price consent sheet.

Declaration

- (BOOL)paymentQueueShouldShowPriceConsent:(SKPaymentQueue *)paymentQueue;

Discussion

The default return value for this optional method is true. By default, the system displays the price consent sheet when you increase the subscription price in App Store Connect and the subscriber has not yet taken action.

The system calls your delegate's method, if appropriate, when you add the first observer to SKPaymentQueue, and any time the app comes to foreground.

If you return false, the system won't show the price consent sheet. You can choose to display it later by calling showPriceConsentIfNeeded. You may want to delay showing the sheet if it would interrupt your user's interaction in your app.

See Also