Framework

CarPlay

Add CarPlay support to your navigation app.

Overview

The CarPlay framework provides a system-generated and -hosted user interface that you customize to display your navigation app. The framework maintains control over UI elements—such as touch target size, font size and color, highlights, and so on—while also enabling your app to display custom map tiles, trip and routing information, and more. This flexibility lets you focus on delivering a great CarPlay experience without the burden of creating an app that works on all supported CarPlay systems.

Topics

First Steps

protocol CPApplicationDelegate

The interface for handling CarPlay life cycle events.

class CPMapTemplate

Control the CarPlay display using a map template.

Route Guidance

class CPNavigationSession

Provides information about a navigation session.

class CPTrip

A journey consisting of an origin, a destination, and route choices.

class CPTravelEstimates

Describes the time and distance remaining for a maneuver in a navigation session.

class CPManeuver

Navigation instructions and distance from the previous maneuver.

Templates and Alerts

Templates

Display lists, grids, and other user interface elements using templates.

class CPSessionConfiguration

Receive notifications when the car limits user interface elements.

class CPAlertAction

An action displayed on an alert as a button.

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