Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change color of pulsing blue ring around user's location

Tags:

ios

mapkit

I've scoured the web and haven't found a way to customize the color of the blue pulsing ring around the user's location on a map.

Does anyone know a way to customize the color of the pulsing ring?

like image 867
Matt Avatar asked Dec 26 '22 10:12

Matt


1 Answers

The blue color for the user location is based on the tint color of your map view, changing this will set the new color for the user location circle.

//Objective-C 
mapView.tintColor = [UIColor redColor];

//Swift 4.2
mapView.tintColor = UIColor.red
like image 83
Ivan Le Hjelmeland Avatar answered Feb 15 '23 15:02

Ivan Le Hjelmeland