marinofaggiana hace 3 años
padre
commit
cd1f315133
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      iOSClient/Viewer/NCViewerVideo/NCViewerVideo.swift

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

@@ -74,7 +74,7 @@ class NCViewerVideo: NSObject {
             if let view = view  {
 
                 self.videoLayer!.frame = view.bounds
-                self.videoLayer!.videoGravity = AVLayerVideoGravity.resizeAspectFill
+                self.videoLayer!.videoGravity = .resizeAspect
                 view.layer.addSublayer(self.videoLayer!)
                 
                 // At end go back to start & show toolbar