marinofaggiana 4 жил өмнө
parent
commit
9485180e09

+ 1 - 1
iOSClient/Viewer/NCViewerVideo/NCViewerVideo.swift

@@ -115,7 +115,7 @@ protocol NCViewerVideoDelegate {
 extension NCViewerVideo: AVPlayerViewControllerDelegate {
 extension NCViewerVideo: AVPlayerViewControllerDelegate {
     
     
     func playerViewControllerShouldAutomaticallyDismissAtPictureInPictureStart(_ playerViewController: AVPlayerViewController) -> Bool {
     func playerViewControllerShouldAutomaticallyDismissAtPictureInPictureStart(_ playerViewController: AVPlayerViewController) -> Bool {
-        false
+        true
     }
     }
     
     
     func playerViewControllerDidStartPictureInPicture(_ playerViewController: AVPlayerViewController) {
     func playerViewControllerDidStartPictureInPicture(_ playerViewController: AVPlayerViewController) {