I want to disable wkwebview's scrolling like this "WKWebView.scrollView.scrollEnabled = NO", but it is not working in iOS13 Beta.
here is my code:
- (WKWebView *)webView{
if (_webView == nil) {
WKWebViewConfiguration *configuration = [[WKWebViewConfiguration alloc] init];
_webView = [[WKWebView alloc] initWithFrame:self.view.bounds configuration:configuration];
_webView.scrollView.scrollEnabled = NO;
_webView.navigationDelegate = self;
}
return _webView;
}