Contents

locale

The value that determines the localization metadata the test environment uses.

Declaration

var locale: Locale { get set }

Discussion

This value determines the locale the test environment uses when it fetches localized metadata for SKProductsRequest. You provide localized metadata in your StoreKit configuration file.

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