Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
5.4.0 Beta
-
None
-
-
adbc7e878fe68f5e1d05745ecb6a40ce7a4b31df
Description
I started playing with QtWebView on iOS trying to render Google Maps embed for start and.. these embeds are only allowed to function inside an iframe, so I need to load custom HTML into a WebView. So implementing loadHtml would be very useful (there seem to be corresponding methods on native web views on both Android and iOS).
Alternatively I could intercept the WebView's request for HTTP content and e.g. register for "myapp://" urls and provide content myself. At the moment that would need quite a lot of interaction with the native side of iOS to my understanding. It would have been great if Qt provided way to preprocess HTTP requests/responses when they leave/enter WebView.
Attachments
Issue Links
- is duplicated by
-
QTBUG-43661 Add loadHtml() method in QtWebView
- Closed