"Access to Location Services denied by user" - CLLocationManager
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.
精彩评论