countryCode
The country or region code for the locale.
Declaration
var countryCode: String? { get }Discussion
Examples of country or region codes include "GB", "FR", and "HK".
Use localizedString(forCountryCode:) to obtain a version of the value suitable for display to the user.
This property contains the same value returned by the object(forKey:) method when passing the countryCode key.