Contents

speechVoices()

Retrieves all available voices on the device.

Declaration

class func speechVoices() -> [AVSpeechSynthesisVoice]

Return Value

An array of voices.

Discussion

Use the language property to identify each voice by its language and locale.

See Also

Obtaining voices