playerView(_:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:)
Tells the delegate to restore the user interface before Picture in Picture playback stops.
Declaration
optional func playerView(_ playerView: AVPlayerView, restoreUserInterfaceForPictureInPictureStopWithCompletionHandler completionHandler: @escaping @Sendable (Bool) -> Void)optional func playerViewRestoreUserInterfaceForPictureInPictureStop(_ playerView: AVPlayerView) async -> BoolParameters
- playerView:
The player view.
- completionHandler:
The completion handler to call after you’ve restored the user interface.