Why some web sites (ex: http://webpagetopdf.com/) are not displayed in ui.webview?
Forum Archive
Some websites not displayed in webview
cvp
Mar 31, 2016 - 14:20
cook
Mar 31, 2016 - 17:02
This works for me...
import ui
w = ui.WebView()
w.load_url('http://webpagetopdf.com/')
w.present()
Is there something really different you're trying to do?
cvp
Mar 31, 2016 - 18:03
I forgot to specify my script runs in appex mode...
cook
Mar 31, 2016 - 18:21
Okay yes, that's roughly the same issue from this post. It seems to be some kind of bug. My guess is that it's with caching somehow, but I'm not sure. I suppose @omz will have that fixed soon enough!
cvp
Mar 31, 2016 - 18:29
Thanks for your help.
In the appex mode, a webview for a file is ok, and even for some web pages like Google.com...
Strange
omz
Apr 01, 2016 - 00:53
I think this might have to do with the new-ish policy that iOS apps are not allowed to use plain http by default (so Google.com still works because it's https). I turned that off for the main app, but that probably doesn't have an effect on the extension. I'll have to check that later.