-
Notifications
You must be signed in to change notification settings - Fork 165
Open
Description
WebODF libs integration with UIWebView: Integrated WebODF libs with UIWebView and it's working fine. Please find the below steps
- Load index.html file from WebODF libs on UIWebView
- Inject .odt file On webViewDidFinishLoad using below code snippet
_let jsFunction = "createEditor(\"../default.odt\", \"Test\", 375, 667)"
webView.stringByEvaluatingJavaScript(from: jsFunction)_
- Successfully load the odt file.
WebODF libs integration with WKWebView: Integrated WebODF libs with WKWebView but it's not working.
- Load index.html file from WebODF libs on WKWebView
- Inject .odt file On didFinish navigation using below code snippet
let jsFunction = "createEditor(\"../default.odt\", \"Test\", 375, 667)"
webView.evaluateJavaScript(jsFunction) { (result, error)
- Not able to load the file, only showing blank white screen. Even evaluateJavaScript function return true value.
Please let me know if anyone can find the solution.
Metadata
Metadata
Assignees
Labels
No labels