Type String Event urlRequest Revision Release 2022.3683 Keywords urlRequest, url
The absolute URL of the request.
local function webListener( event ) if ( event.url ) then print( "You are visiting: " .. event.url ) end end local webView = native.newWebView( display.contentCenterX, display.contentCenterY, 320, 480 ) webView:request( "https://solar2d.com/" ) webView:addEventListener( "urlRequest", webListener )