Skip to main content

Picture-in-Picture & AirPlay

To enable Picture-in-Picture and AirPlay in your app:

  1. In Xcode, select your project.
  2. Open the Signing & Capabilities tab.
  3. Click + Capability.
  4. Search for Background Modes and add it.
  5. Tick Audio, AirPlay and Picture in Picture.

That's it — the SDK handles the rest at runtime.

caution

These features are only available on a physical device. They will not work in the iOS Simulator.

SwiftUI apps

The same capability applies. SwiftUI apps that embed BBNativePlayer from the SwiftUI module inherit this behavior automatically — no additional code is required.