I’m accessing a not-local webpage through a native.webView API.
However, the API does not provide an option to specify the width of the page in the webView of any sort.
My page can adapt to small screens through knowing their width in usual browsers, but does not do that in webView.
The page is perfectly built and displayed when visiting in Xcode simulator in Safari. In corona’s webView rather not.
I’m simply calling:
webView = native.newWebView( display.contentCenterX, display.contentCenterY, display.contentWidth, display.contentHeight ) webView:request( url )
I’ve tried adjusting the values in config.lua file to 1200 x 1600, for example, but the page still looks the same.
Any ideas what could be wrong here?