Class

MKUserTrackingButton

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

Declaration

@interface MKUserTrackingButton : UIView

Overview

Use this class when you need a standard button that you can incorporate into your view hierarchy. 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.

Topics

Creating a User Tracking Button

+ userTrackingButtonWithMapView:

Initializes the button with the map view that it should control.

Getting the Parent Map

mapView

The map view associated with the button.

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.

MKUserTrackingBarButtonItem

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