regionCode
The region code of the locale, or nil if it has none.
Declaration
var regionCode: String? { get }Discussion
For example, for the locale “zh-Hant-HK”, returns “HK”.
The region code of the locale, or nil if it has none.
var regionCode: String? { get }For example, for the locale “zh-Hant-HK”, returns “HK”.