Anjani
Anjani

Reputation: 31

Current location alert access

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

Answers (2)

AltinkOnline
AltinkOnline

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

sdolgy
sdolgy

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

Related Questions