The code that tells the system to launch your app in the foreground to play the media.
- iOS 12.0+
- Mac Catalyst 13.0+
- watchOS 5.0+
Because the lifespan of an app extension is short, media playback should happen in your app, not in the Intents app extension. To play the media with your app in the foreground, return
INPlay as the response