Artem Svystun
Artem Svystun

Reputation: 179

Is it possible to call alert "Allow to use current location" manually?

Is it possible to call alert "Allow to use current location" manually when using CoreLocation framework?

Upvotes: 2

Views: 1583

Answers (1)

Ortwin Gentz
Ortwin Gentz

Reputation: 54121

No, it's automatically displayed when the app accesses Core Location. If the user rejects it, it's displayed a second time at the next launch, then it keeps quiet and isn't shown anymore.

See this answer how to detect if the user rejected the request.

Upvotes: 4

Related Questions