Asks the delegate whether to immediately display a price consent sheet.
- iOS 13.4+
- Mac Catalyst 13.4+
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
SKPayment, 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
show. You may want to delay showing the sheet if it would interrupt your user's interaction in your app.