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

# UITextInlinePredictionType

Constants that identify the behavior of inline text predictions for a text-entry area.

```
enum UITextInlinePredictionType
```

## Overview

Use these constants with the [`inlinePredictionType`](/documentation/UIKit/UITextInputTraits/inlinePredictionType) property.

## Topics

### Constants

[`case `default``](/documentation/UIKit/UITextInlinePredictionType/default)

A constant that determines the behavior of inline text predictions according to the context.

[`case no`](/documentation/UIKit/UITextInlinePredictionType/no)

A constant that turns off inline text predictions.

[`case yes`](/documentation/UIKit/UITextInlinePredictionType/yes)

A constant that turns on inline text predictions.

### Initializers

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

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)