Contents

AVSystemRouteLaunchMode.application

Launches the corresponding application on the remote device.

Declaration

case application

Discussion

Use this mode when you want to start your app’s counterpart on the remote device, enabling app-to-application communication and custom playback experiences. The remote application can handle the provided URL and maintain bidirectional communication through the AVSystemRouteDataChannel returned in the completion handler.

Application identifiers must be configured in the MDESupportedProtocols key in your app’s Info.plist file. For example:

<key>MDESupportedProtocols</key>
<dict>
	<key>com.example.sharingprotocol</key>
	<string>com.example.myapplicationidentifier</string>
</dict>