Commit 048f8f5e authored by Lorenzo Pichilli's avatar Lorenzo Pichilli Committed by GitHub

Merge pull request #670 from pcqpcq/master

fix(iOS): missing implementation of method zoomBy
parents 5f988d51 b0d3b82c
......@@ -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