iphone - MKMapView returns bad userLocation -


I checked the map in the Daterzer Builder to show the user's location and it works fine I zoom the map zoom Want to use area and user space as well as user location, but user latitude and longitude are 0.000, and the app center is zooming in the area with 0 and 0. Why is this?

  CLLocation * location = [[[CLLocation alloc] initWithLatitude: mapView.userLocation.location.coordinate.latitude longitude: mapView.userLocation.location.coordinate.longitude] autoreclass]; Use    

to obtain user space, and not map.

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -