<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: -",
    "macOS: 15.4.0 -",
    "tvOS: 18.4.0 -",
    "visionOS: 2.4.0 -",
    "watchOS: 11.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/AppEntityUIElementsContext",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents0A23EntityUIElementsContextV"
  },
  "title" : "AppEntityUIElementsContext"
}
-->

# AppEntityUIElementsContext

Contextual information for UI elements you make discoverable by Apple Intelligence.

```
struct AppEntityUIElementsContext
```

## Overview

When you implement your custom app entity provider to make a custom view’s content discoverable by Apple Intelligence and Siri,
you provide the system with [`AppEntityUIElement`](/documentation/AppIntents/AppEntityUIElement) objects that combine the app entity for a view’s content with additional
information. The `AppEntityUIElementsContext`
holds this additional information that the system uses to understand where content appears onscreen.

## Topics

### Instance Properties

[`let bounds: CGRect`](/documentation/AppIntents/AppEntityUIElementsContext/bounds)

The bounds that the system uses to understand the location of a UI element within the local coordinate space.

[`let requests: Set<AppEntityUIElementsContext.ElementsRequest>`](/documentation/AppIntents/AppEntityUIElementsContext/requests)

The set of requests for elements from the system.

### Enumerations

[`enum ElementsRequest`](/documentation/AppIntents/AppEntityUIElementsContext/ElementsRequest)

A type that describes which UI elements the system is requesting.

## Relationships

### Conforms To

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

[`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)