2

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

Ortwin Gentz
  • 52,648
  • 24
  • 135
  • 213
Artem Svystun
  • 179
  • 1
  • 14

1 Answers1

4

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.

Community
  • 1
  • 1
Ortwin Gentz
  • 52,648
  • 24
  • 135
  • 213