I am loading custom HTML in a WKWebView, setting the property width=device-width
in the viewport. This works perfectly in iOS 12, but gives a problem with scrolling with iOS 13 (beta 7).
In particular, when width=device-width
is used, it is not possible to scroll the webview, so part of the content is not visible. It is only possible to do so if the user pinches to zoom, and then magically it starts to be possible to scroll (both horizontally and vertically).
I didn't find anything in the documentation regarding changes to WKWebView (or even the scrollview) in iOS 13 that could justify this. Am I missing something? Or maybe this is a bug of iOS 13 / Xcode 11?