Commit b0d3b82c authored by pancq's avatar pancq

fix(iOS): missing implementation of method zoomBy

parent 9b3ea1c6
......@@ -269,6 +269,11 @@ class InAppWebViewMethodHandler: FlutterMethodCallDelegate {
case "getContentHeight":
result(webView?.getContentHeight())
break
case "zoomBy":
let zoomFactor = arguments!["zoomFactor"] as! Float
webView?.zoomBy(zoomFactor: zoomFactor)
result(true)
break
case "reloadFromOrigin":
webView?.reloadFromOrigin()
result(true)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment