I have the following code which works for iOS 13 and lower. It shows only the blue dot without a callout and above the blue dot is just the title a ...
I have the following code which works for iOS 13 and lower. It shows only the blue dot without a callout and above the blue dot is just the title a ...
I want to get the user location, that's what I did: I set locationManager in my ViewController: Here is the function that is called once the locat ...
The blue dot does not appear on the map. It appears there is some disconnect between the CLLocation manager and the self.mapView.userLocation.coordina ...
I am trying to display the current location of the user and have the region set to their current location. Here is my code. What happens: Map ...
I'm struggling to identify how I can tell that the MKMapView is showing the current user location pin in a UI Test. This is a MKUserLocation annotatio ...
I've created a map with a user tracking button on the top right corner. I was wondering how I would be able to set the state to "followWithHeadlights" ...
Trying to track user location using MKMapView. Using below code Problem when i want zoom out/in or moving map to other location while updating th ...
The Maps app in iOS 10 now includes a heading direction arrow on top of the MKUserLocation MKAnnotationView. Is there some way I can add this to MKMap ...
I've implemented - (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id<MKAnnotation>)annotation { method to change the defaul ...
I know. I found this question as well: Turning user location annotation with heading Sadly, what I'm trying to do here is much simpler (or so I thoug ...
This seems to be possible because the MKUserLocation annotation is placed at the user's current altitude. However, the protocol for MKAnnotation only ...
I'm setting region coordinates here: I'm setting the region zoom here: Here is my mapView didUpdateUserLocation method: } I know this will o ...
Hi I have set my MapKit up to show users location, but it is loading with a view much too zoomed out, so I am trying to zoom it in to e.g. an area of ...
I am new to iOS and I have a question about finding the current user location. I am reading in Apple documentation: Displaying the User’s Current ...
I need a way to convert MKUserLocation to CLLocation so that I can find the distance between the user location and another predefined CLLocation using ...
I am using MapKit with Xcode 6, and everything I have coded up to this point has worked fine. I have a text field that allows users to input any strin ...
I am not able to call MKMapView delegate method didUpdateUserLocation. What I did so far: Add framework MapKit.framwork in project Import fram ...
I have to remove all the annotations added to my MKMapView but when I execute : The array annotationsToRemove contains a MKUserLocation annotation ...
I'm trying to fit all annotations on my MKMapView while keeping the current user position in center of map. There are already many references[1][2] o ...
I am trying to make the CLLocation manager work but it keeps giving me an error message saying locationManager failed with error=Error Domain=kCLError ...