iOS Question WebView questions

wl

Well-Known Member
Licensed User
Longtime User
Hi,

I would like to use a web view as the main component of my new B4i app.
More in detail: my app would do geolocation and thus use the GPS coordinates and also have push notifications.

But to see the data etc I would use an existing view on webpages I already have (PWA).

I now face two questions:
1. How to show the URLs in my app ? I have a WebView and I do an .LoadUrl (of the external URL on my server), but in runtime (simulator) I only get a blank page ?
2. Is such kind of an application approved in the Apple Store (most screens part of the web view) ?

Thanks
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Why? It will only make things more complicated.

I have a WebView and I do an .LoadUrl (of the external URL on my server), but in runtime (simulator) I only get a blank page ?
Are you handling the PageFinished event? You can check LastException if Success = False. If the url is non-https then you need to disable ATS.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…