Browse Source

tips

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 1 year ago
parent
commit
f1fa682b7a
1 changed files with 7 additions and 0 deletions
  1. 7 0
      iOSClient/Viewer/NCViewerPDF/NCViewerPDF.swift

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

@@ -253,8 +253,15 @@ class NCViewerPDF: UIViewController, NCViewerPDFSearchDelegate {
         let swipePdfThumbnailScrollView = UISwipeGestureRecognizer(target: self, action: #selector(gestureClosePdfThumbnail))
         swipePdfThumbnailScrollView.direction = .right
         pdfThumbnailScrollView.addGestureRecognizer(swipePdfThumbnailScrollView)
+
+        handlePageChange()
     }
 
+    override func viewDidAppear(_ animated: Bool) {
+        super.viewDidAppear(animated)
+
+        showTip()
+    }
 
     override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
         super.viewWillTransition(to: size, with: coordinator)