I have two view controllers: tweetViewController and MapViewController . The first is for the user to post a tweet, and in it I use CLLocationManager to get the user's location. When locationManager:didUpdateToLocation:fromLocation: , I got "locationA", I will remind the user that his location has been set.
A user can simply tweet with "locationA". Or change the location manually (if the location is not accurate enough) by clicking on the location information. In this case, the MapViewController and there is a drag-and-drop annotation pin associated with locationA that falls onto the map. I found a pin hundreds of meters from where I am. Then I set mapView.showUserLocation = YES . And I found that the location of the blue bubble is much more accurate than the pin. So my question is how can I get mapView userLocation in tweetViewController and not in place from CLLocationManager .
I am in China, I was looking for the same problem. Some people say that the map in China has been transformed, so an offset must occur. Any suggestion to solve the problem? Thanks in advance.
source share