I’ve seen a number of people asking how to customize MKUserLocationView – that blue dot that is used to illustrate the user’s location on a map view.
Here’s a custom control from Sam Vermette called SVPulsingAnnotationView that you can use to replace MKUserLocationView that is created using Core Graphics so you can easily tweak the color.
You can also adjust the speed of the pulse, and the delay between each pulse.
Here’s an image from the readme showing SVPulsingAnnotationView along side the default MKUSerLocationView:
You can find SVPulsingAnnotationView on Github here.
Sam has also placed a nice writeup on his site about how he created the control.
A nice customizable implementation of an otherwise unchangeable native UI control.
- Open Source Control Providing A Highly Customizable Image Based UISwitch Replacement
- Open Source Objective-C UI Control For Creating An iBooks Style Page Scrubber
- Open Source Completely Customizable iPhone UIAlertView Replacement Control
- Open Source iOS UI Control For Creating Customizable Expanding Buttons
- Open Source: Easily Customizable Rotary Pie Menu iOS Control
Original article: Open Source Control Providing A Customizable MKUserLocationView Replacement
©2013 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.