Global Variable

UIAccessibilitySpeechAttributeLanguage

A key indicating the language to use when speaking a string.

Declaration

const NSAttributedStringKey UIAccessibilitySpeechAttributeLanguage;

Discussion

The value of this key is an NSString object containing a BCP 47 language code. When applied to text in a string, the rules for the specified language govern how that string is pronounced.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software