marinofaggiana 5 سال پیش
والد
کامیت
0c5caf38b5
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      iOSClient/Viewer/NCViewerPDF.swift

+ 2 - 1
iOSClient/Viewer/NCViewerPDF.swift

@@ -80,10 +80,11 @@ import PDFKit
         pdfThumbnailView!.trailingAnchor.constraint(equalTo: detailViewController.backgroundView.safeAreaLayoutGuide.trailingAnchor).isActive = true
         pdfThumbnailView!.bottomAnchor.constraint(equalTo: detailViewController.backgroundView.safeAreaLayoutGuide.bottomAnchor).isActive = true
         
-        self.documentView?.gestureRecognizers?.removeAll()
+        /*
         let tapGesture = UITapGestureRecognizer(target: self, action: #selector(didTap(_:)))
         tapGesture.numberOfTapsRequired = 1
         detailViewController.backgroundView.addGestureRecognizer(tapGesture)
+        */
     }
     
     @objc func didTap(_ recognizer: UITapGestureRecognizer) {