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 { ...@@ -269,6 +269,11 @@ class InAppWebViewMethodHandler: FlutterMethodCallDelegate {
case "getContentHeight": case "getContentHeight":
result(webView?.getContentHeight()) result(webView?.getContentHeight())
break break
case "zoomBy":
let zoomFactor = arguments!["zoomFactor"] as! Float
webView?.zoomBy(zoomFactor: zoomFactor)
result(true)
break
case "reloadFromOrigin": case "reloadFromOrigin":
webView?.reloadFromOrigin() webView?.reloadFromOrigin()
result(true) 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