---
title: "PDF Text-to-speech conversion for iOS | Nutrient SDK"
canonical_url: "https://www.nutrient.io/guides/ios/features/text-to-speech/"
md_url: "https://www.nutrient.io/guides/ios/features/text-to-speech.md"
last_updated: "2026-05-30T02:20:01.337Z"
description: "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."
---

# Text-to-speech for our iOS viewer

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`](https://www.nutrient.io/api/ios/documentation/pspdfkitui/speechcontroller/selectedlanguage) property of the [`SpeechController`](https://www.nutrient.io/api/ios/documentation/pspdfkitui/speechcontroller), which can be accessed via the [shared `PSPDFKit.SDK` configuration instance](https://www.nutrient.io/api/ios/documentation/pspdfkit/sdk/shared):

### SWIFT

```swift

PSPDFKit.SDK.shared.speechController.selectedLanguage = documentLanguage

```

### OBJECTIVE-C

```objc

PSPDFKitGlobal.sharedInstance.speechController.selectedLanguage = documentLanguage;

```

The [`SpeechController`](https://www.nutrient.io/api/ios/documentation/pspdfkitui/speechcontroller) has additional properties to control speed rate and pitch.![Text Speech](@/assets/guides/ios/features/text-to-speech/text-to-speech.png)
---

## Related pages

- [Accessibility support for our iOS PDF viewer](/guides/ios/viewer/accessibility/features.md)

