Question

I was working with XCode 4.3 and having a working code. But after upgrading to 4.4 i met with a problem. The problem is that current user location is not being showed on the iphone simulator. I mean the blue dot. And also my pins dissappeared and map is not focusing to the area i wanted. Do u have any idea about this problem?

Was it helpful?

Solution

Did you try this

self.mapView.showsUserLocation=YES;

OTHER TIPS

GPS services doesn't work well in simulator. Apple has supported it in simulator 5 but not in the prior versions.

Make sure you have the Edit Scheme... > Run > Options the 'Allow Location Simulation' checked.

I also had the issue at first. Pin was there but no map displayed, only a grid.

I played with the map to move it around and it start working.

I have xcode 7.3.1

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top