---
title: forCurrentLocation()
framework: mapkit
role: symbol
role_heading: Type Method
path: mapkit/mkmapitem/forcurrentlocation()
---

# forCurrentLocation()

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

## Declaration

```swift
class func forCurrentLocation() -> MKMapItem
```

## Return Value

Return Value An MKMapItem object representing the user’s location.

## Discussion

Discussion For privacy reasons, and because the user’s location can change, the map item that this method returns doesn’t contain any coordinate data. When you need the actual location of the user, use the Core Location framework to retrieve it.

## See Also

### Related Documentation

- [Location and Maps Programming Guide](apple-archive/documentation/UserExperience/Conceptual/LocationAwarenessPG/Introduction.md)

### Creating map items

- [init(placemark:)](mapkit/mkmapitem/init(placemark:).md)
