如何检测用户是否不允许位置更新 [英] How to detect if user Did not allow location update
本文介绍了如何检测用户是否不允许位置更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果用户在首次启动时拒绝允许位置更新.
In case user refuse to allow location update when on first time launch.
我怎么能检测到这个?
推荐答案
检查CLLocationManager的authorizationStatus方法.
Check the authorizationStatus method of the CLLocationManager.
这篇关于如何检测用户是否不允许位置更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文