<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/build-siri-experiences-across-apps-part-1-onscreen-awareness-ugdm9clkh" -->

---
title: Build Siri experiences across apps, Part 1: Onscreen...
description: Explains how to make iOS app content addressable by Siri when users refer to it as "this" or "that" rather than by name. Two APIs handle onscreen awareness:...
canonical: https://daily.dev/posts/build-siri-experiences-across-apps-part-1-onscreen-awareness-ugdm9clkh
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Build Siri experiences across apps, Part 1: Onscreen Awareness | daily.dev
og:description: Explains how to make iOS app content addressable by Siri when users refer to it as "this" or "that" rather than by name. Two APIs handle onscreen awareness:...
og:url: https://daily.dev/posts/build-siri-experiences-across-apps-part-1-onscreen-awareness-ugdm9clkh
og:image: https://api.daily.dev/og/posts/UGdm9cLKH.png
og:image:alt: Build Siri experiences across apps, Part 1: Onscreen Awareness
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Build Siri experiences across apps, Part 1: Onscreen Awareness

**[Sarunw](https://daily.dev/sources/sarunw)** · [@sarunw](https://daily.dev/sarunw) · 3 min read · 0 upvotes · 0 comments

## Summary

Explains how to make iOS app content addressable by Siri when users refer to it as "this" or "that" rather than by name. Two APIs handle onscreen awareness: NSUserActivity annotations with an appEntityIdentifier for screens with one primary item (like a message detail view), and view annotations applied to each row when multiple items are visible at once (like a message list). Both connect views to App Entities so Siri can resolve on-screen references. Part 2 will cover content transfer between apps.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://sarunw.com/posts/build-siri-experiences-across-apps-part-1-onscreen-awareness>

## Questions this post answers

### How do I let Siri know what content is currently shown on screen in my iOS app?

Connect the view to an App Entity using one of two APIs depending on the screen layout. For a screen with one primary item, like a message detail view, use the userActivity SwiftUI modifier and set the activity's appEntityIdentifier to the item's ID, which must match the ID your entity query uses to find that item. For a screen with multiple meaningful items, like a list, apply the appEntityIdentifier modifier to each row instead.

_daily.dev surfaces practical App Intents guides for developers wiring up Siri integrations._

### When should I use NSUserActivity annotations versus view annotations for Siri App Entities?

Use NSUserActivity annotations when there is one primary item on the screen, such as a message detail view, by setting the userActivity modifier's appEntityIdentifier to that item's ID. Use view annotations instead when multiple meaningful items are visible at once, such as a list, by applying appEntityIdentifier to each row so Siri can distinguish which item is being referenced.

_Developers deciding between Siri annotation approaches can find hands-on comparisons like this on daily.dev._

## Similar posts on daily.dev

- [Your App Has a Second User Now. And it doesn’t have hands.](https://daily.dev/posts/your-app-has-a-second-user-now-and-it-doesn-t-have-hands--cuiancesa) · Medium · 0 upvotes · 0 comments
- [Hey Siri, here's what I actually want from AI](https://daily.dev/posts/hey-siri-here-s-what-i-actually-want-from-ai-ijbrf0yp4) · TechCrunch · 0 upvotes · 0 comments
- [App Intents in SwiftUI — Letting Siri, Spotlight, and Shortcuts Speak Your App’s Language](https://daily.dev/posts/app-intents-in-swiftui-letting-siri-spotlight-and-shortcuts-speak-your-app-s-language-w39pmsp7y) · Medium · 0 upvotes · 0 comments

---

Tags: [#ios](https://daily.dev/tags/ios), [#swiftui](https://daily.dev/tags/swiftui)

[View this post on daily.dev](https://daily.dev/posts/build-siri-experiences-across-apps-part-1-onscreen-awareness-ugdm9clkh)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Build Siri experiences across apps, Part 1: Onscreen Awareness","url":"https://daily.dev/posts/build-siri-experiences-across-apps-part-1-onscreen-awareness-ugdm9clkh","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/build-siri-experiences-across-apps-part-1-onscreen-awareness-ugdm9clkh"},"datePublished":"2026-09-19T19:38:36.209Z","dateModified":"2026-09-20T20:00:15.230Z","description":"Explains how to make iOS app content addressable by Siri when users refer to it as \"this\" or \"that\" rather than by name. Two APIs handle onscreen awareness:...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/86775ad37c2b1c58a0b4a423728d3621?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/86775ad37c2b1c58a0b4a423728d3621?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Sarunw","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Sarun Wongpatcharapakorn","url":"https://daily.dev/sarunw","image":"https://avatars.githubusercontent.com/u/795368?v=4","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":20}},"commentCount":0,"discussionUrl":"https://daily.dev/posts/build-siri-experiences-across-apps-part-1-onscreen-awareness-ugdm9clkh","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ios,swiftui","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sarunw","item":"https://daily.dev/sources/sarunw"},{"@type":"ListItem","position":3,"name":"Build Siri experiences across apps, Part 1: Onscreen Awareness"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/build-siri-experiences-across-apps-part-1-onscreen-awareness-ugdm9clkh#faq","mainEntity":[{"@type":"Question","name":"How do I let Siri know what content is currently shown on screen in my iOS app?","acceptedAnswer":{"@type":"Answer","text":"Connect the view to an App Entity using one of two APIs depending on the screen layout. For a screen with one primary item, like a message detail view, use the userActivity SwiftUI modifier and set the activity's appEntityIdentifier to the item's ID, which must match the ID your entity query uses to find that item. For a screen with multiple meaningful items, like a list, apply the appEntityIdentifier modifier to each row instead. daily.dev surfaces practical App Intents guides for developers wiring up Siri integrations."}},{"@type":"Question","name":"When should I use NSUserActivity annotations versus view annotations for Siri App Entities?","acceptedAnswer":{"@type":"Answer","text":"Use NSUserActivity annotations when there is one primary item on the screen, such as a message detail view, by setting the userActivity modifier's appEntityIdentifier to that item's ID. Use view annotations instead when multiple meaningful items are visible at once, such as a list, by applying appEntityIdentifier to each row so Siri can distinguish which item is being referenced. Developers deciding between Siri annotation approaches can find hands-on comparisons like this on daily.dev."}}]}
```

