Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-42334

Expose native WebView on iOS/Android (and maybe WebEngine-enabled platforms too?)

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.4.0 Beta, 5.6.0
    • WebView
    • iOS/tvOS/watchOS

    Description

      I started playing with iOS-specific WebView trying to output a long scrollable list of "cards" that can contain a google map, weather forecast, tweet or whatever else HTMLable, each of this cards is just a QWebView (for now what QML layouts don't really work with these you can re-calculate coordinates periodically).

      Trouble is that whenever you go into UI details you need to touch the native implementation once in a while. For example, I wanted to prevent the end/beginning of page bouncing behavior as cards are supposed to be small enough not to bounce. A ready-made solution actually exists, but it's tough to use it without the access to the internal implementation - http://stackoverflow.com/questions/500761/stop-uiwebview-from-bouncing-vertically. Certainly, that is just one example. A lot of things are to be unified across the platforms yet due to myriad of platform-specific details there is always likely to be something platform-specific you'd want to manage.

      It would be great if accessing the native implementation could be possible.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            stromme Christian
            artem.marchenko Artem Marchenko
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes