Class

MKUserTrackingBarButtonItem

A specialized bar button item that allows the user to toggle through the user tracking modes.

Declaration

@interface MKUserTrackingBarButtonItem : UIBarButtonItem

Overview

Tapping the button lets the user toggles between modes for displaying the map with and without the current heading applied. The button also reflects the current user tracking mode if set elsewhere. This bar button item is associated to a single map view.

Topics

Creating a User Tracking Bar Button Item

- initWithMapView:

Initializes a newly created bar button item with the specified map view.

Accessing the Owning Map

mapView

The map view associated with this bar button item.

Relationships

Inherits From

See Also

Map Customization

MKMapCamera

A virtual camera for defining the appearance of the map.

MKCompassButton

A specialized view that displays the current compass heading for its associated map.

MKScaleView

A specialized view that displays the current scale information for its associated map.

MKAnnotation

An interface for associating your content with a specific map location.

MKUserTrackingButton

A specialized button that allows the user to toggle through the user tracking modes.