Show UserLocation and UserTracking example
suggest changeThis will show the user location on the map
Objective-C
[self.map setShowsUserLocation:YES];
Swift
self.map?.showsUserLocation = true
This will track the user location on the map, updating regions according
Objective-C
[self.map setUserTrackingMode:MKUserTrackingModeFollow];
Swift
self.map?.userTrackingMode = .follow
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents