Asks the delegate if the transaction should continue if the device's App Store storefront has changed during a transaction.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
StoreKit calls this delegate method if the storefront changes while processing a transaction.
trueif you wish to continue the transaction within the updated storefront.
falseto stop the transaction. The transaction will fail with the error
SKError. In this case, consider displaying a message to the user indicating that the product is not available in the current storefront.
.Code .store Product Not Available
If the delegate is not implemented,
payment defaults to
This call times out after approximately one second, defaulting to
false and causing the transaction to fail. The delegate should return as quickly as possible. Do not perform any networking calls in this method. Your app should cache product availability information locally before starting a transaction.