Contents

storefront

The three-letter code that represents the region associated with the App Store storefront.

Declaration

var storefront: String { get set }

Discussion

This property uses the ISO 3166-1 alpha-3 region code representation. The default value is USA.

In the testing environment, this variable determines the value of the storefront variable on your app’s payment queue, and affects the currency type displayed in the payment sheet.

Changing this property overrides its setting in the StoreKit configuration file for this test session. Call resetToDefaultState() to revert all settings to those in the configuration file.

See Also

Configuring the test environment