locationServicesEnabled always return YES

后端 未结 6 1553
臣服心动
臣服心动 2021-02-03 10:28

I tested my device (iPod Touch 2G iOS 4.1) if location services are enabled

permitted = [locationManager locationServicesEnabled];

and I always

6条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-03 11:15

    [CLLocationManager locationServicesEnabled] will return NO when the user setting button is switched to OFF, only then I have achieved a NO.

提交回复
热议问题