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

# UITextItemInteraction

Constants that indicate the type of interaction the user expects to have with a URL or text attachment.

```
enum UITextItemInteraction
```

## Topics

### Constants

[`UITextItemInteraction.invokeDefaultAction`](/documentation/UIKit/UITextItemInteraction/invokeDefaultAction)

The user wants to perform the default action on the text item; for example, opening a URL.

[`UITextItemInteraction.presentActions`](/documentation/UIKit/UITextItemInteraction/presentActions)

The user wants to be presented with a list of actions that can be taken on the text item, such as opening the link in a different way or downloading content from the link.

[`UITextItemInteraction.preview`](/documentation/UIKit/UITextItemInteraction/preview)

The user wants to get a preview of the content represented by the text item, such as by initiating a peek and pop on a link.



---

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)