diff --git a/ios/Classes/InAppWebView.swift b/ios/Classes/InAppWebView.swift index 4866afaa..398987ab 100755 --- a/ios/Classes/InAppWebView.swift +++ b/ios/Classes/InAppWebView.swift @@ -1050,11 +1050,12 @@ public class InAppWebView: WKWebView, UIScrollViewDelegate, WKUIDelegate, WKNavi // Fallback on earlier versions } - scrollView.showsVerticalScrollIndicator = (options?.verticalScrollBarEnabled)! - scrollView.showsHorizontalScrollIndicator = (options?.horizontalScrollBarEnabled)! scrollView.showsVerticalScrollIndicator = !(options?.disableVerticalScroll)! scrollView.showsHorizontalScrollIndicator = !(options?.disableHorizontalScroll)! + scrollView.showsVerticalScrollIndicator = (options?.verticalScrollBarEnabled)! + scrollView.showsHorizontalScrollIndicator = (options?.horizontalScrollBarEnabled)! + // options.debuggingEnabled is always enabled for iOS. if (options?.clearCache)! {