How to enable zooming on webview iOS
-
Hi! I am trying to use a webview on iOS (import QtWebView 1.1, WebView {}). It shows up correctly, but I can't zoom on the page using gestures.
I am using the 5.5 beta now and, if understand this code: https://github.com/qtproject/qtwebview/blob/5.5/src/webview/qwebview_ios.mm correctly, it is supposed to have a gesture recognizer.
Any hints on how to make this work?
-
Hi and welcome to devnet,
From a quick look, you might have to add a call to scalesPageToFit and rebuild the module (I haven't tested it though, it's from Apple's documentation here)
1/2