Determining if user has denied CoreLocation permission

前端 未结 2 1734
后悔当初
后悔当初 2020-12-31 23:30

Is it possible to determine programmatically that a user has denied permission to use their location?

Secondly, if a user has denied permission, is it possible to re

2条回答
  •  失恋的感觉
    2021-01-01 00:35

    Additionally - If locationServicesEnabled returns NO and you attempt to start location services anyway, the system will prompt the user to confirm whether location services should be reenabled.

提交回复
热议问题