webView.scrollView.bounces = NO;
I set up the code, but the webView can still slide up and down.
I assigned a color to the scrollView, I'm sure that's not the scrolling effect of the web page.
I am using WKWebview.
While the property bounces
cannot control the display of the extra area, the property alwaysBounceVertical
can.
Sorry, I can't take a screenshot.
Will this issue be fixed after the official version is released? Or that it was expected.
My Xcode: Version 14.0 beta 4 (14A5284g)
Simulator: iPhone 13 Pro - iOS 16.0
Until apple fixes this issue, As a work around we can use below on iOS 16. It works.
self.webView.scrollView.alwaysBounceVertical = NO; self.webView.scrollView.alwaysBounceHorizontal = NO;