Set Region Center to Current Location
I’m working on my first contract project which requires a map to show the location of certain venues & events. It will have the ability to locate nearby events by using the user’s location and provide them with search directions to that location.
For some reason, one of the most frustrating parts was what should be quite simple. Starting out the MapView centered on the user’s current location. For everyone’s benefit, here is the code that worked: