Reputation: 31
What is the class or API used to popup the alert to the user for their current location access permission to the app?
Upvotes: 2
Views: 521
Reputation: 31
When you are using core-location the app shows automatically the alert for permission. You can't disable/enable that by yourself.
Upvotes: 3
Reputation: 7001
Not quite sure what you're asking ... is this related to a web application? iphone? android? java? fortran? Anyway, i'll go on a limb here and think you're referring to the HTML5 GeoLocation API:
This other question may be of value to you if it's iOS and you don't want to do it once with HTML5 ...
What's the easiest way to get the current location of an iPhone?
Upvotes: 0