This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/ios/features/text-to-speech.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. PDF Text-to-speech conversion for iOS | Nutrient SDK

The iOS PDF text-to-speech feature uses Apple APIs to guess the language of the document. This works for many documents but is sometimes incorrect. If you know the language of the document, we suggest setting it manually using the selectedLanguage property of the SpeechController, which can be accessed via the shared PSPDFKit.SDK configuration instance:

PSPDFKit.SDK.shared.speechController.selectedLanguage = documentLanguage

The SpeechController has additional properties to control speed rate and pitch.

Text Speech