Disable bounce scrolling for WKWebview in macOS
问题 Trying to disable bounce scrolling for WKWebview in macOS, but WKWebview in macOS has no "scrollView" let webView = WKWebView(frame: view.frame) print(webView.scrollView) 回答1: One really weird thing about this that you may or may not have noticed is that in the WKWebView class, there is a description of the scrollView that is theoretically "supposed" to be in the class, but the scrollView is not there. This can be seen in the photo below: I would say that it could be a weird procedure of