Tells the delegate that Picture in Picture is about to stop and you should restore your user interface.
- iOS 9.0+
- Mac Catalyst 13.0+
The player view controller.
To restore the user interface, call this completion handler with a value of
Implement this method to reestablish your playback user interface when PiP ends. The framework calls this method no matter how PiP ends, whether it’s because the user ended playback, the user tapped the button to return ongoing video playback to your app, or the video finished playing on its own.