Instance Property

allowedInputSourceLocales

An array of locale identifiers representing input sources that are allowed to be enabled when the receiver has the keyboard focus.

Declaration

@property(copy) NSArray<NSString *> *allowedInputSourceLocales;

Discussion

You can use the meta-locale identifier, NSAllRomanInputSourcesLocaleIdentifier, to specify input sources that are limited for Roman script editing.

See Also

Inserting Text

- insertText:

Inserts aString into the receiver’s text at the insertion point if there is one, otherwise replacing the selection.

Deprecated