marinofaggiana 3 years ago
parent
commit
04d5789576
1 changed files with 4 additions and 0 deletions
  1. 4 0
      iOSClient/Viewer/NCViewerImage/NCViewerImageZoom.swift

+ 4 - 0
iOSClient/Viewer/NCViewerImage/NCViewerImageZoom.swift

@@ -209,6 +209,8 @@ class NCViewerImageZoom: UIViewController {
             self.view.layoutIfNeeded()
         } completion: { (_) in
         }
+        
+        scrollView.pinchGestureRecognizer?.isEnabled = true
     }
     
     private func openDetail() {
@@ -231,6 +233,8 @@ class NCViewerImageZoom: UIViewController {
             self.view.layoutIfNeeded()
         } completion: { (_) in
         }
+        
+        scrollView.pinchGestureRecognizer?.isEnabled = false
     }
 }