Gives your app an opportunity to restore its movie playback user interface; called when Picture in Picture is about to stop.
- iOS 9.0+
- Mac Catalyst 13.0+
The player view controller to which you’ve assigned the delegate.
For the user interface to be restored, you must implement your method to return a value of
truein this block.
Implement this method to reestablish your movie playback user interface when PiP ends. This method is called no matter how PiP ends, whether it is 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.