您的位置:首页 > 移动开发 > IOS开发

iOS MKMapView Error Domain=kCLErrorDomain Code=0 “(null)” Simulator

2016-01-08 10:39 471 查看
MKMapView 在模拟器上无法显示地图


IOS
9 Error Domain=kCLErrorDomain Code=0 “(null)”

searching google true the answers this seems to be a problem since IOS4.0.

in XCODE 7.1 under Project => scheme => edit scheme.

under Run => Options => Core location / disable Allow Location Simulation.

in your IOS Simulator under Debug => Location select a location. This fixed the problem for me.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: