Contents

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”.

See Also

Getting information about a locale