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?

uialertview requesting permission domain

you can pass geolocation app javascript loaded webuiview. 'stringbyevaluatingjavascriptfromstring' in webuiview?


Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -