---
title: INAddMediaIntentResponseCode.handleInApp
framework: intents
role: symbol
role_heading: Case
path: intents/inaddmediaintentresponsecode/handleinapp
---

# INAddMediaIntentResponseCode.handleInApp

The system should launch the app in the background to handle the intent.

## Declaration

```swift
case handleInApp
```

## Discussion

Discussion Because the lifespan of an app extension is short, adding media should happen in your app, not in the Intents app extension. To handle adding media in your app while in the background, return INAddMediaIntentResponseCode.handleInApp as the response code.

## See Also

### Response Code

- [INAddMediaIntentResponseCode.unspecified](intents/inaddmediaintentresponsecode/unspecified.md)
- [INAddMediaIntentResponseCode.ready](intents/inaddmediaintentresponsecode/ready.md)
- [INAddMediaIntentResponseCode.inProgress](intents/inaddmediaintentresponsecode/inprogress.md)
- [INAddMediaIntentResponseCode.success](intents/inaddmediaintentresponsecode/success.md)
- [INAddMediaIntentResponseCode.failure](intents/inaddmediaintentresponsecode/failure.md)
- [INAddMediaIntentResponseCode.failureRequiringAppLaunch](intents/inaddmediaintentresponsecode/failurerequiringapplaunch.md)
