<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKUserTrackingMode/followWithHeading",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:@E@MKUserTrackingMode@MKUserTrackingModeFollowWithHeading"
  },
  "title" : "MKUserTrackingMode.followWithHeading"
}
-->

# MKUserTrackingMode.followWithHeading

The map follows the user’s location and rotates when the heading changes.

```
case followWithHeading
```

## Discussion

This mode requires the device to have an available magnetometer. This mode isn’t available for compatible iPad or iPhone apps running in visionOS.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)