CarPlay app 升級:從 video browsing、voice control 到 route sharing
這場 session 說明 iOS 27 對 CarPlay app 的新入口與新模板:支援 parked video browsing、列表縮圖與 playback metadata、MiniPlayer、Voice Control overlay、Navigation panels,以及把路線提供給車輛的 Route sharing。
CarPlay 的重點不只是「多一個車上 UI」:iOS 27 把媒體瀏覽、語音互動與導航路線協調都拉進 template system,讓 app 能在不同車款螢幕與輸入硬體上保持安全一致。
這支影片拆的是四個 CarPlay 產品問題
影片 app 可以在停車情境做瀏覽體驗
如果車輛支援 video in car,app 可用 CarPlay framework 提供影片瀏覽;若只支援 AirPlay video streaming,既有 AirPlay 播放仍可用。
縮圖、details header、playback state 變成列表語言
iOS 27 的 list/card elements 可顯示 portrait 或 landscape thumbnail、overlay、播放進度、sports score 與 details header,讓媒體內容不用自建 layout。
Voice Control template 開放到所有 CarPlay 類別
語音 template 可全頁呈現,也能 overlay 在 Map template 等畫面上;prompt、animated icon、action buttons 與 navigation buttons 都可配置。
Route sharing 讓車輛理解 app 的路線
navigation app 可把 route segments 提供給支援車輛,讓駕駛輔助或 EV 充電建議能基於 app 的實際 trip 做判斷。
導入 CarPlay 新能力的判斷路線
先判斷 app 類別與 entitlement
影片內容 app 要確認 AirPlay video streaming、CarPlay video entitlement,以及是否同時保留 audio entitlement 讓 app 在不支援 video 的車上仍可出現。
用 CPSessionConfiguration 做能力檢查
CarPlay video tab、video presentation 或其他功能不應硬開;先確認 session 是否支援對應能力,再決定 UI 與播放方式。
把播放狀態寫進 CPPlaybackConfiguration
thumbnail 與 details header 的 progress、duration、play/pause/replay action 都要隨播放狀態更新,避免 CarPlay UI 顯示過期資訊。
語音互動要提供短文字與音訊回饋
overlay 模式空間較小,prompt 要有短版;以語音為主的互動也應提供等待與處理中的音效 cue。
導航 app 再評估 panels 與 Route sharing
panels 適合在地圖上方呈現 route choices、waypoints、details;Route sharing 則要處理駕駛授權、trip eligibility 與車輛回傳 waypoint。
重點 1:CarPlay video app 是停車與等待情境,不是駕駛中影片 UI
iOS 27 讓 app 在支援 video in car 的車輛上提供影片瀏覽與播放入口,適合在機場等人、充電站等待或停車休息時使用。若車輛暫時不允許 video playback,系統可把內容轉為 audio-only。
導入時要把「車輛是否支援」、「當下是否允許 video」、「app 是否也適合 audio」分開設計。若內容同時適合聽與看,應同時包含 CarPlay audio app 與 CarPlay video app entitlements。
重點 2:MiniPlayer 與 details header 讓媒體 app 少做自定 layout
所有使用 now playing 的 app 會自動顯示 MiniPlayer;在大螢幕上,它甚至可提供 play、pause、skip。若 app 不適合 MiniPlayer,可把 now playing template 的 allowsMiniPlayer 設為 false。
details header 則適合把目前 episode、電影摘要或主打內容放在列表上方,並搭配 thumbnail、title、body text、playback configuration 與 action buttons。這些 template 的價值,是讓 app 不必針對每種車款解析度與輸入硬體重做 UI。
重點 3:Voice Control template 從單一畫面變成可覆蓋的互動層
iOS 27 將 Voice Control template 開放給所有 CarPlay app 類別。它可以全頁顯示,也可以 overlay 在 Map template 或其他 template 上;後者適合問目的地、查聯絡人、控制內容播放等不該完全打斷目前任務的情境。
重點 4:Navigation panels 與 Route sharing 把地圖主區域交還給 app
Navigation app 現在可在 Map template 的 primary interface area 上 push panels,組合 trips、grids、route choices、route details、waypoints 與 list items,並用 panel button configuration 放置 Go、End 等控制。
Route sharing 則讓 app 將 trip 的 route segments 送給支援車輛。車輛可依路線做駕駛輔助或 EV 充電判斷,並把建議 waypoint 回傳給 app;app 可選擇讓 map template 自動提示駕駛接受,或自行管理確認流程。
風險與測試注意事項
來源
主要來源為 Apple Developer 官方影片頁、官方 transcript、章節與 YouTube metadata。官方頁:Rev up your CarPlay app - WWDC26。YouTube:WWDC26: Rev up your CarPlay app | Apple。
- 01影片 app 要以 parked / supported vehicle 為前提,並準備 audio-only fallback。
- 02列表 thumbnail、details header、MiniPlayer 與 CPPlaybackConfiguration 是 iOS 27 CarPlay 媒體 UI 的核心。
- 03Voice Control template 可作為 overlay,但要準備短文案與音訊狀態回饋。
- 04Navigation app 應評估 panels 與 Route sharing,同時測駕駛授權、trip eligibility 與車輛回傳 waypoint。