I'm using MKUserTrackingBarButtonItem to locate on MKMapView. I've added it on navigation controller as navigationItem programmatically. My questions are:
- Could I customize MKUserTrackingBarButtonItem? Example: my navigation controller has a blue background, and I need to set my MKUserTrackingBarButtonItem appearance conform to navigation controller. Instead it shows a white square around the arrow. I would change this.
- Is possible move my MKUserTrackingBarButtonItem from the navigation controller and put it directly on my map?
Thanks
This will animate the mapView back to the users current location. You can call this function from any custom button you create.