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

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -