Contents

storefront

The App Store storefront of the device.

Declaration

var storefront: SKStorefront? { get }

Discussion

The storefront information tells you the device’s App Store region. You can use this information to display products that your app makes available in specific regions. You maintain your own list of product identifiers and the storefronts in which you make them available.

If the storefront changes during a transaction, StoreKit notifies your app by calling the paymentQueueDidChangeStorefront(_:) method of the SKPaymentTransactionObserver protocol. Implement paymentQueue(_:shouldContinue:in:) to indicate whether the transaction should continue with the new storefront.