marinofaggiana 5 년 전
부모
커밋
35d1e633aa
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      iOSClient/Viewer/NCViewerRichdocument.swift

+ 9 - 0
iOSClient/Viewer/NCViewerRichdocument.swift

@@ -111,6 +111,15 @@ class NCViewerRichdocument: WKWebView, WKNavigationDelegate, WKScriptMessageHand
             if message.body as! String == "share" {
                 appDelegate.activeMain.openShare(with: self.detail.metadataDetail)
             }
+            
+            if message.body as! String == "downloadAs" {
+                
+            }
+            
+            if message.body as! String == "documentLoaded" {
+                
+            }
+            
         }
     }