I have a question for Corona Team about native.newwebview.

Hello, there.

 

I have one problem with my first Corona app.

 

In my app, there is one webview controller that shows other site’s page.

 

https://www.dropbox.com/s/ogch8mud6nefpj0/webview_1.png?dl=0

 

Please check my screen shot- this is Corona simulator and it works well in Corona simulator.

 

But when I build to XCode simulator or iPad, it doesn’t work-just show blank white square.

Please check the next attachment-that is for XCode simulator.

 

https://www.dropbox.com/s/3tub8hhr3tn2c59/webview_2.png?dl=0

 

And this is the source code of that part.

     webView = native.newWebView( display.contentWidth/2, display.contentHeight/2 + 20, 300, 300 )

        webView:request( "http://www.123contactform.com/form-2675144/Survey-Form")
        webView:addEventListener( “urlRequest”, webListener )

If you know this problem, please tell me why and help me to solve this problem

Thank you.

Jacky

Hi Jacky.

Please only ask your question once. Anyone wanting to help answer this please do so here:

https://forums.coronalabs.com/topic/69445-nativenewwebview-doesnt-work/

Thanks

Rob

Hi Jacky.

Please only ask your question once. Anyone wanting to help answer this please do so here:

https://forums.coronalabs.com/topic/69445-nativenewwebview-doesnt-work/

Thanks

Rob