iOS設備定位服務開啓判定

應用CLLocationManager 的兩個方法 [CLLocationManagerlocationServicesEnabled] 判斷設備是否開啓定位功能 [CLLocationManagerauthorizationStatus] 判斷設備是否允許本程序的定位服務 - (BOOL)isOnLocation { BOOL isOn = false; if (([CLLoca
相關文章
相關標籤/搜索