Creates a speech recognizer associated with the user's default language settings.


convenience init?()

Return Value

An initialized speech recognizer object, or nil if there was a problem creating the object.


If the user's default language is not supported for speech recognition, this method attempts to fall back to the language used by the keyboard for dictation. If that fails, this method returns nil.

Even if this method returns a valid speech recognizer object, the speech recognition services may be temporarily unavailable. To determine whether speech recognition services are available, check the isAvailable property.

See Also

Creating a Speech Recognizer

init?(locale: Locale)

Creates a speech recognizer associated with the specified locale.

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