<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/TargetContentProvidingIntent",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents28TargetContentProvidingIntentP"
  },
  "title" : "TargetContentProvidingIntent"
}
-->

# TargetContentProvidingIntent

An interface that provides a custom identifier for an app intent.

```
protocol TargetContentProvidingIntent : AppIntent
```

## Overview

In a SwiftUI app, adopt this protocol in an app intent that affects the contents of your app’s
interface. The protocol provides an identifier string that you use to describe the app intent
to your app. When the system launches your app, you use this identifier to match the app intent
to one of your app’s scenes. If you’re implementing a UIKit app, use the [`UISceneAppIntent`](/documentation/AppIntents/UISceneAppIntent)
protocol to achieve the same behavior.

For more information about how to use app intents to configure your app’s interface, see
[Directing app intents to your app’s scenes](/documentation/AppIntents/directing-app-intents-to-your-apps-scenes).

## Topics

### Getting the target content identifier

[`var contentIdentifier: String`](/documentation/AppIntents/TargetContentProvidingIntent/contentIdentifier)

A custom string your app uses to identify the app intent.

## Relationships

### Inherits From

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

[`PersistentlyIdentifiable`](/documentation/AppIntents/PersistentlyIdentifiable)

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

[`AppIntent`](/documentation/AppIntents/AppIntent)

### Inherited By

[`UISceneAppIntent`](/documentation/AppIntents/UISceneAppIntent)

---

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)