Instance Property

primaryLanguage

The primary language, if any, of the input mode.

Declaration

var primaryLanguage: String? { get }

Discussion

The value of this property is a BCP 47 language code such as “es”, “en-US”, or “fr-CA”.