首页 > 其他 > 详细

【解决方法】Error Domain=kCLErrorDomain Code=0 "The operation couldn’t be completed.

时间:2014-10-15 17:45:39      阅读:1502      评论:0      收藏:0      [点我收藏+]


环境:XCODE6.0.1 + iPhone / iOS8


错误:使用CoreLocation获取地理位置信息,报错

Error Domain=kCLErrorDomain Code=0 "The operation couldn’t be completed. (kCLErrorDomain error 0.)"


解决方法:

1.确定模拟器(手机)已经联网并且允许程序获取地理位置

2.重置地理位置服务或者网络服务


PS:如果是模拟器就果断直接重置模拟器吧  IOS Simulator - Reset Content and Settings..。

【解决方法】Error Domain=kCLErrorDomain Code=0 "The operation couldn’t be completed.

原文:http://blog.csdn.net/zhyl8157121/article/details/40112919

(1)
(1)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!