Merge pull request #670 from pcqpcq/master
fix(iOS): missing implementation of method zoomBy
This commit is contained in:
commit
048f8f5ead
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue