A compass app for the car: your heading on the iPhone in its holder

Download on the App StoreCockpitly is free to download.
Two Cockpitly Drive Mode Compass widgets heading northeast at 48 degrees, in red and in green

A compass app for the car has to do something the iPhone’s own Compass isn’t built for: show the direction the car is going while the phone stands upright in a holder. Cockpitly’s Compass widget in Drive Mode does that, using the GPS while you move and the iPhone’s compass when you stop. It lives on the phone, not on CarPlay, because a CarPlay widget can’t keep up with your turns.

The iPhone’s Compass app, and why it’s awkward in a car

Your iPhone comes with a Compass app. In Apple’s words, it “shows you the direction iPhone is pointing in, your current location, and the elevation.” Apple’s guide also explains how to use it:

  • Hold it flat. For accurate bearings, Apple says to hold the iPhone flat and align the crosshairs at the center of the compass.
  • Lock a direction. Tap the compass dial, and a red band appears when you’re off course.
  • Allow location. If your location isn’t available, go to Settings > Privacy & Security > Location Services, turn it on, tap Compass and choose While Using the App.
  • Don’t rely on it for precision. Apple warns that magnetic or environmental interference can affect the compass’s accuracy, and that it’s for basic navigation assistance only.

That works in your hand. In a car it gets awkward: in a holder the phone stands upright, not flat, and the Compass app is an app of its own, not a panel you can keep next to your speed or your music.

GPS heading vs a phone compass

An iPhone has two ways to tell direction. The compass senses the direction the phone points. The GPS works differently: as you move, it knows which way you’re going. Apple’s developer documentation calls this the course, “the direction in which the device is traveling,” measured in degrees clockwise from due north, so north is 0, east is 90 and south is 180. A course only makes sense while you’re moving.

Cockpitly uses both, each where it works best:

  • Moving, above about 2 mph (3 km/h): the GPS course, which is the direction the car is traveling, whichever way the phone sits in its holder.
  • Stopped: the iPhone’s compass, because a parked car has no course.

What Cockpitly’s Compass widget shows

On the panel the widget is labeled Heading. It has three parts:

  • A compass rose that turns as you do, so the direction you’re heading stays at the top and the needle points north. The needle takes your design’s accent color.
  • The nearest of eight points: N, NE, E, SE, S, SW, W or NW.
  • The exact degrees, such as 48°.

When you turn across north, say from 350° to 10°, the rose turns the short way, 20 degrees, instead of spinning almost all the way around.

Cockpitly’s Compass widget for Drive Mode, labeled Heading: a compass rose with a red north needle, NE and 48 degrees

If neither the GPS nor the compass has a reading, the widget tells you what’s missing: Searching for GPS… while it waits for a position, Location is off with an Open Settings button if Cockpitly can’t use your location, or No GPS on a device that can’t measure position.

Is there a compass app for CarPlay?

Apple’s CarPlay developer page lists the kinds of apps that can appear on the CarPlay screen: audio, video when parked, messaging, navigation, EV charging, fueling, parking, public safety, quick food ordering, voice-based conversational and driving task apps, plus widgets. Widgets are snapshots, though. iOS refreshes them on its own schedule, typically 40 to 70 times a day for a widget you look at often, according to Apple’s developer documentation. A compass that updates every 15 to 60 minutes would point the wrong way after your first turn.

So Cockpitly doesn’t put a compass on CarPlay. The Compass stays in Drive Mode on your iPhone or iPad in its holder, where it can follow every turn, and its readings never leave the device. For the car’s screen, choose widgets that work as snapshots: the best CarPlay widgets for iOS 27 groups them by what you need, and how to add widgets to CarPlay in iOS 27 has the steps.

How to set up the Compass in Cockpitly

Cockpitly is free to download. Do this while you’re parked.

  1. Open Widgets and tap Drive Mode at the top.
  2. Tap the slot you want. The big one is the Main widget; the others are Slot 2, Slot 3 and so on.
  3. Under Your trip, tap Compass.
  4. Choose its design: Background (Original, Color or Image), Lettering, Lettering color and Accent. Designing is free.
  5. Tap Put on the main one (or Put on slot 2, and so on). The Compass needs Cockpitly Pro: without it, the button shows a lock and opens the Pro screen. If you’ve never answered the location question, iOS asks now.
  6. Under Layout, pick Classic (1 big + 4), Balanced (1 big + 2) or Duo (2 equal), then tap Try Drive Mode.

Put the iPhone in its holder in landscape, with the screen facing you. From then on, tap Drive in the middle of the tab bar when you get in.

What it can’t do

  • Give directions. It shows your heading, not a map or a route. Drive Mode has no maps, so keep your navigation app for that.
  • Be exact when you’re stopped. Then it relies on the iPhone’s compass, which Apple says magnetic or environmental interference can affect. Once you’re moving, the GPS course takes over.
  • Follow the road in a tunnel. When the GPS drops out, it falls back on the iPhone’s compass, with the same caveat, until the signal is back.
  • Appear on CarPlay. It stays on the phone and nothing is saved.

The Compass is one of nine Drive Mode widgets in the iPhone car dashboard guide. It goes well with the free Speedometer, and since Apple’s Compass also shows elevation, you may like Cockpitly’s Altitude widget too, with the slope of the road.

Questions

Is there a compass app for CarPlay?

Not as a live widget. CarPlay widgets are snapshots that iOS refreshes on its own schedule, so a compass there couldn't follow your turns. Cockpitly's Compass runs in Drive Mode, on your iPhone in a holder.

Does the iPhone have a built-in compass?

Yes, the Compass app. Apple's guide says it shows the direction iPhone is pointing in, your current location and the elevation, and that you should hold the iPhone flat for accurate bearings.

Why use GPS for the heading in a car?

While you move, the GPS course is the direction you're traveling, whichever way the phone sits in its holder. Cockpitly uses it above about 2 mph and switches to the iPhone's compass when you stop.

Is Cockpitly's Compass free?

It needs Cockpitly Pro. You can look at it and design it in the widget gallery for free. The free Drive Mode widgets are the Speedometer, the Clock and Music.