Hello.
I’m trying to build a scene with one element, WebView. The scene will get a url through the params and will load the correct page. For some reason the page will not load on iOS devices and does not put out an error in the listener. The page DOES load on the emulator and on Android devices.
I’ve tried creating the most simple project with the a WebView, but still the same issue.
I’m using Version 2015.2786 (2015.12.12) and bulding for iOS 9.2 (also tried 9.1 and 9.0), can’t figure out what I’m doing wrong.
Code for simple project:
----------------------------------------------------------------------------------------- -- -- main.lua -- ----------------------------------------------------------------------------------------- -- Your code here webView = native.newWebView(display.contentWidth/2,display.contentHeight/2,display.contentHeight,display.contentWidth) webView:request("http://www.youtube.com/") function webListener(event) end webView:addEventListener("urlRequest",webListener)
thank you…
