What problem does it solve?
Helps developers design, implement, and test CarPlay-enabled iOS apps by consolidating template selection, scene lifecycle management, entitlement and provisioning setup, Siri intent handling, and simulator/hardware testing guidance so CarPlay features work reliably across head units and instrument clusters.
Core Features & Use Cases
- Template selection & architecture: Guidance for choosing and composing CPTabBarTemplate, CPListTemplate, CPMapTemplate, CPGridTemplate, CPNowPlayingTemplate, and CPPointOfInterestTemplate as appropriate for navigation, audio, communication, or EV charging apps.
- Scene lifecycle & delegates: Best practices and example code for CPTemplateApplicationScene, CPTemplateApplicationDashboardScene, CPTemplateApplicationSceneDelegate, and handling connect/disconnect, instrument cluster windows, and template stack limits.
- Entitlements, provisioning & Siri: Steps to request and apply category-specific CarPlay entitlements, Info.plist scene declarations, INIntent integration for messaging and media, and common pitfalls to avoid.
- Testing & reliability: Checklist and methods for Xcode CarPlay Simulator, external display/instrument cluster simulation, hardware testing, and ensuring UI responsiveness (completion handlers, template stack bounds).
Quick Start
Show me how to implement a CPTemplateApplicationScene-based CarPlay navigation app including entitlement setup, scene configuration in Info.plist, a CPTabBarTemplate root, and how to test it in the CarPlay simulator.