playerView(_:restoreUserInterfaceForFullScreenExitWithCompletionHandler:)
Tells the delegate to restore the app’s user interface when exiting full-screen mode.
Declaration
optional func playerView(_ playerView: AVPlayerView, restoreUserInterfaceForFullScreenExitWithCompletionHandler completionHandler: @escaping @Sendable (Bool) -> Void)optional func playerViewRestoreUserInterfaceForFullScreenExit(_ playerView: AVPlayerView) async -> BoolParameters
- playerView:
The player view.
- completionHandler:
You must call the completion handler with a value of
trueto allow the system to finish restoring your app’s user interface.