I have two view controllers: tweetViewController
and MapViewController
. The former is for user to post a tweet, and in it I use CLLocationManager
to get user's location. Once locationManager:didUpdateToLocation:fromLocation:
is called, I got "locationA", I'll remind user that his location has been set.
User can just post the tweet with "locationA". Or change the location manually (in case the location is not accurate enough) by clicking the location info. In this case, MapViewController
is pushed, and there is an draggable pin annotation associated with locationA fall down to the map. I found the pin is hundreds of meters apart from where I am. Then, I set mapView.showUserLocation = YES
. And I found the blue bubble's location is much more accurate than the pin. So, my question is how can I get mapView's userLocation
in the tweetViewController
rather than the location from CLLocationManager
.
I'm in China, I've been searching for the same problem. Some people say map in China is transformed, so then there must be an offset. Any suggestion to deal with the problem? Thanks in advance.