没有合适的资源?快使用搜索试试~ 我知道了~
This guide describes how to create these types of CarPlay apps.
需积分: 0 1 下载量 131 浏览量
2023-02-23
14:19:00
上传
评论
收藏 7.34MB PDF 举报
温馨提示
试读
54页
carplay app开发指南
资源推荐
资源详情
资源评论
CarPlay App
Programming Guide
June 7, 2022
Developer
Table of Contents
Introduction ..........................................................................................................3
Overview ...............................................................................................................4
CarPlay app entitlements ...................................................................................................4
CarPlay app guidelines .........................................................................................5
Development environment ..................................................................................10
Entitlements .......................................................................................................................10
Simulators ..........................................................................................................................13
Te mp la tes ............................................................................................................16
Action sheet .......................................................................................................................17
Alert ....................................................................................................................................17
Contact ...............................................................................................................................18
Grid .....................................................................................................................................18
Information .........................................................................................................................19
List ......................................................................................................................................20
Now playing .......................................................................................................................21
Point of interest .................................................................................................................22
Ta b b a r ...............................................................................................................................23
Assets .................................................................................................................24
Build a CarPlay app .............................................................................................26
Startup ...............................................................................................................................26
Create a list template .......................................................................................................28
Create a now playing template ........................................................................................29
Play audio ..........................................................................................................................30
Work while iPhone is locked ............................................................................................30
Launch other apps ...........................................................................................................30
Build a CarPlay navigation app ...........................................................................31
Additional templates for navigation apps .......................................................................31
Startup ...............................................................................................................................39
Route guidance .................................................................................................................40
Keyboard and list restrictions ..........................................................................................44
Voice prompts ...................................................................................................................44
2022-06-07 | Copyright © 2022 Apple Inc. All Rights Reserved.
Page of 1 53
Maps in the CarPlay Dashboard and instrument cluster displays ...............................46
Sample code ........................................................................................................51
Integrating CarPlay with your music app ........................................................................51
Integrating CarPlay with your navigation app ................................................................51
Publish your CarPlay app ....................................................................................52
2022-06-07 | Copyright © 2022 Apple Inc. All Rights Reserved.
Page of 2 53
Introduction
CarPlay is a smarter, safer way to use your iPhone in the car. CarPlay takes the things you want
to do with your iPhone while driving and puts them right on your car's built-in display.
In addition to getting directions, making calls, sending and receiving messages, and listening to
music, CarPlay supports the following types of apps.
• Audio
• Communication (messaging and calling)
• Driving task
• EV charging
• Fueling
• Navigation (turn-by-turn directions)
• Parking
• Quick food ordering
This guide describes how to create these types of CarPlay apps.
Note
This guide does not cover CarPlay automaker apps (published by car manufacturers).
2022-06-07 | Copyright © 2022 Apple Inc. All Rights Reserved.
Page of 3 53
Overview
Users download CarPlay apps from the App Store and use them on iPhone like any other app.
When an iPhone with a CarPlay app is connected to a CarPlay vehicle, the app icon appears on
the CarPlay home screen. CarPlay apps are not separate apps—you add CarPlay support to an
existing app.
CarPlay apps are designed to look and feel like your app on iPhone, but with UI elements that
are similar to the built-in CarPlay apps.
Your app uses the CarPlay framework to present UI elements to the user. iOS manages the
display of UI elements and handles the interface with the car. Your app does not need to
manage the layout of UI elements for different screen resolutions, or support different input
hardware such as touchscreens, knobs, or touch pads.
CarPlay apps must meet the basic requirements defined in the CarPlay Entitlement Addendum,
and must follow the CarPlay App Guidelines.
For general design guidance, see Human Interface Guidelines for CarPlay Apps.
CarPlay app entitlements
All CarPlay apps require a CarPlay app entitlement that matches your app type.
To request a CarPlay app entitlement, go to http://developer.apple.com/carplay and provide
information about your app, including the type of entitlement that you are requesting. You also
need to agree to the CarPlay Entitlement Addendum.
Apple will review your request. If your app meets the criteria for a CarPlay app, Apple will assign
a CarPlay app entitlement to your Apple Developer account and notify you.
2022-06-07 | Copyright © 2022 Apple Inc. All Rights Reserved.
Page of 4 53
剩余53页未读,继续阅读
资源评论
大城野人
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功