ios - Preventing annoying HTML5 geolocation alerts inside UIWebView -
whenever script requests geolocation using html5
's geolocation api, uiwebview
asks permission use ios location services.
this pretty annoying, specially when load static html
files, keeps asking permission each file, if user granted permission app itself.
is there way prevent it?
i know on safari permission geolocation based on domain , agree on asking permission when request done different domain, shouldn't uiwebview have same geolocation permission app when loading static html or local files?
am doing wrong?
you can pass geolocation app javascript loaded webuiview. 'stringbyevaluatingjavascriptfromstring' in webuiview?
Comments
Post a Comment