Locale | iOS SDK | 2GIS Documentation
iOS SDK

Locale

Locale identifier in the format [language designer]-[region designer]. Where language designer is the language code described in ISO 639-1, region designer is the country code described in ISO 3166-1.

public init(
    language: String,
    region: String
)
Parameters
language
region
Methods
Properties

Language code the follows the ISO 639-1 standard.

Country code that follows the ISO 3166-1 standard.