Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.5.6
Description
Our commercial customer reported that it's not possible to inspect QML WebView content embedded into a Qt application using Safari Inspector on iOS 17 or later. When an iOS app built on Qt 6.5 is installed on iOS version < 16.5, WebView of app is inspectable through Safari inspector. Whereas if the same app gets installed on iOS >16.5 like 17 or 18, its not inspectable.
Doing some searching I can find e.g. StackOverflow answer that states that starting from iOS 16.4 one has to manually mark the WKWebView as inspectable to allow Safari debugging.
The change done by Apple has been described in this article
https://webkit.org/blog/13936/enabling-the-inspection-of-web-content-in-apps/
What would be the right way to get this issue solved from Qt point of view? Obviously, one possibility would be to expand WebViewSettings QML Type support setting inspectable?
Any workaround that would make it possible to inspect already now would also be highly appreciated.