Type Method


Creates and returns a singleton map item object representing the device’s current location.


+ (MKMapItem *)mapItemForCurrentLocation;

Return Value

An MKMapItem object representing the current location.


For privacy reasons, and because the user’s location can change, the map item returned by this method does not contain any coordinate data. When you need the actual location of the user, you must use the Core Location framework to retrieve it.

See Also

Creating Map Items

- initWithPlacemark:

Initializes and returns a map item object using the specified placemark object.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software