Are you sure this method works on simulator or windows build? I can’t make it work!
When using newWebView() on simulator I got:
WARNING: Web views are not supported in the simulator. Please build for device.
When using newWebView() in a windows build I got a black screen and no errors in Corona Output Viewer .
In both I tried a fresh project with just the following main.lua file:
local webView = native.newWebView( display.contentCenterX, display.contentCenterY, 320, 480 ) webView:request( "http://www.coronalabs.com/" )
I’m running CoronaSDK-2016.2992.msi and Windows 10 Pro.