---
title: UIDictationPhrase
framework: uikit
role: symbol
role_heading: Class
path: uikit/uidictationphrase
---

# UIDictationPhrase

An object that represents the textual interpretation of a spoken phrase that the user dictates.

## Declaration

```swift
@MainActor class UIDictationPhrase
```

## Overview

Overview When the user chooses dictation input on a supported device, the system automatically inserts recognized phrases into the current text view. You can use an object of the UIDictationPhrase class to obtain a string representing a phrase a user has dictated. In the case of ambiguous dictation results, a dictation phrase object provides an array containing alternative strings. Methods in the UITextInput protocol allow your app to respond to the completion of dictation.

## Topics

### Obtaining textual interpretations of spoken text

- [alternativeInterpretations](uikit/uidictationphrase/alternativeinterpretations.md)
- [text](uikit/uidictationphrase/text.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)

## See Also

### Text input

- [UITextInput](uikit/uitextinput.md)
- [UITextInputDelegate](uikit/uitextinputdelegate.md)
- [UIKeyInput](uikit/uikeyinput.md)
- [UITextInputTraits](uikit/uitextinputtraits.md)
- [UITextInputContext](uikit/uitextinputcontext.md)
- [UITextInputMode](uikit/uitextinputmode.md)
- [UITextInputAssistantItem](uikit/uitextinputassistantitem.md)
