---
title: appEntityIdentifier
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiview/appentityidentifier
---

# appEntityIdentifier

The identifier of an app entity that you associate with a custom view.

## Declaration

```swift
@MainActor @preconcurrency var appEntityIdentifier: EntityIdentifier? { get set }
```

## Discussion

Discussion Associate your view with one app entity to make it discoverable by Apple Intelligence and Siri when the view appears onscreen. For example, when a person taps an item in a list to view the detail view for the item, expose the item to Apple Intelligence and Siri using the appEntityIdentifier. If your custom view shows several separate items; for example, if you use a custom list implementation that manages selection states itself; use appEntityUIElementProvider to provide the system with a list of items. To clear the association with the app entity, set appEntityIdentifier to nil. For more information, refer to doc:Making-onscreen-content-available-to-siri-and-apple-intelligence and App Intents.
