diff --git a/ios/Classes/FlutterWebviewPlugin.m b/ios/Classes/FlutterWebviewPlugin.m index 2494aeea..dd4ac2ea 100644 --- a/ios/Classes/FlutterWebviewPlugin.m +++ b/ios/Classes/FlutterWebviewPlugin.m @@ -94,8 +94,8 @@ - (void)initWebview:(FlutterMethodCall*)call { self.webview.navigationDelegate = self; self.webview.scrollView.delegate = self; self.webview.hidden = [hidden boolValue]; - self.webview.showsHorizontalScrollIndicator = [scrollBar boolValue]; - self.webView.showsVerticalScrollIndicator = [scrollBar boolValue]; + self.webview.scrollView.showsHorizontalScrollIndicator = [scrollBar boolValue]; + self.webview.scrollView.showsVerticalScrollIndicator = [scrollBar boolValue]; _enableZoom = [withZoom boolValue];