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

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.

你可能感兴趣的:(iOS MKMapView Error Domain=kCLErrorDomain Code=0 “(null)” Simulator)