fix(iOS): missing implementation of method zoomBy
This commit is contained in:
parent
9b3ea1c6a2
commit
b0d3b82ca6
@ -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…
x
Reference in New Issue
Block a user