marinofaggiana 4 years ago
parent
commit
ed184a4898
1 changed files with 7 additions and 0 deletions
  1. 7 0
      iOSClient/Viewer/NCViewerPDF/NCViewerPDF.swift

+ 7 - 0
iOSClient/Viewer/NCViewerPDF/NCViewerPDF.swift

@@ -241,3 +241,10 @@ class NCViewerPDF: UIViewController, NCViewerPDFSearchDelegate {
         pdfView.go(to: pdfSelection)
     }
 }
+
+extension NCViewerPDF : UINavigationControllerDelegate {
+
+    override func willMove(toParent parent: UIViewController?) {
+        super.willMove(toParent: parent)
+     }
+}