I'm having a hard time understanding how to restore the PiP to fullscreen.
I press the PiP button and the screen minimizes. When I tap the PiP button on the minimized screen, the video is closed.
If I implement the delegate, I can use playerViewControllerDidStopPictureInPicture
to present the fullscreen again. However, this is called when the close button is tapped. This seems like it should be default behavior. The attached image shows what I am hoping to .
原来我不明白之间的区别: playerViewControllerDidStopPictureInPicture
是视频停止时和restoreUserInterfaceForPictureInPictureStopWithCompletionHandler
当 Pip 被点击时
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.