开发者

"Access to Location Services denied by user" - CLLocationManager

开发者 https://www.devze.com 2023-03-23 05:20 出处:网络
I\'m writing an application which uses CLLocationManager to collect GPS data. Not long ago my simulator began sending me exceptions like kCLErrorDenied without asking confirmation to get开发者_运维百科

I'm writing an application which uses CLLocationManager to collect GPS data. Not long ago my simulator began sending me exceptions like kCLErrorDenied without asking confirmation to get开发者_运维百科 the GPS data. Who knows how to fix this trouble?


You cannot test CoreLocation framework in simulator. For more details, see here.

0

精彩评论

暂无评论...
验证码 换一张
取 消