I\'m having a hard time adding a button to the toolbar in swift, below you can see an image of the toolbar that I\'m after, unfortunately even though I have it designed in my St
Here is an example with MKUserTrackingBarButtonItem:
MKUserTrackingBarButtonItem
navigationController?.toolbarHidden = false let barButtonItem = MKUserTrackingBarButtonItem(mapView: self.mapView) self.toolbarItems = [barButtonItem]