Browse Source

viewController Richdocument

Marino Faggiana 6 years ago
parent
commit
e3adfdd145
1 changed files with 2 additions and 2 deletions
  1. 2 2
      iOSClient/Richdocument/NCRichdocument.swift

+ 2 - 2
iOSClient/Richdocument/NCRichdocument.swift

@@ -34,9 +34,9 @@ class NCRichdocument: NSObject, SwiftWebVCDelegate {
 
     @objc func viewRichDocumentAt(_ link: String, navigationViewController: UINavigationController) {
         
-        let webVC = SwiftWebVC(urlString: link, hideToolbar: false)
+        let webVC = SwiftWebVC(urlString: link, hideToolbar: true)
         webVC.delegate = self
-        navigationViewController.pushViewController(webVC, animated: true)
+        navigationViewController.setViewControllers([webVC], animated: true) //pushViewController(webVC, animated: true)
     }
     
     func didStartLoading() {