<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITextAlternativeStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UITextAlternativeStyle"
  },
  "title" : "UITextAlternativeStyle"
}
-->

# UITextAlternativeStyle

A constant that determines if the system highlights alternative phrases during text input.

```
enum UITextAlternativeStyle
```

## Topics

### Constants

[`case lowConfidence`](/documentation/UIKit/UITextAlternativeStyle/lowConfidence)

A constant that indicates that the text input should highlight alternatives because the input text may be incorrect.

[`case none`](/documentation/UIKit/UITextAlternativeStyle/none)

A constant that indicates that the text input shouldn’t highlight alternatives because the input text is expected to be correct.

### Initializers

[`init?(rawValue: Int)`](/documentation/UIKit/UITextAlternativeStyle/init(rawValue:))

## Relationships

### Conforms To

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)