bounds
TypeScriptget bounds(): { x: number; y: number; width: number; height: number }Swift declarationlet bounds: CGRectThe bounds that the system uses to understand the location of a UI element within the local coordinate space.
struct · iOS 18.4+ · SDK 27.1
struct AppEntityUIElementsContextContextual information for UI elements you make discoverable by Apple Intelligence. 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`` 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.
get bounds(): { x: number; y: number; width: number; height: number }Swift declarationlet bounds: CGRectThe bounds that the system uses to understand the location of a UI element within the local coordinate space.
get requests(): Array<AppEntityUIElementsContext_ElementsRequest>Swift declarationlet requests: Set<AppEntityUIElementsContext.ElementsRequest>The set of requests for elements from the system. UI elements that satisfy any of these requests should be returned.
No declarations were skipped in this snapshot.