View in English

  • Apple Developer
    • Get Started

    Explore Get Started

    • Overview
    • Learn
    • Apple Developer Program

    Stay Updated

    • Latest News
    • Hello Developer
    • Platforms

    Explore Platforms

    • Apple Platforms
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    • App Store

    Featured

    • Design
    • Distribution
    • Games
    • Accessories
    • Web
    • Home
    • CarPlay
    • Technologies

    Explore Technologies

    • Overview
    • Xcode
    • Swift
    • SwiftUI

    Featured

    • Accessibility
    • App Intents
    • Apple Intelligence
    • Games
    • Machine Learning & AI
    • Security
    • Xcode Cloud
    • Community

    Explore Community

    • Overview
    • Meet with Apple events
    • Community-driven events
    • Developer Forums
    • Open Source

    Featured

    • WWDC
    • Swift Student Challenge
    • Developer Stories
    • App Store Awards
    • Apple Design Awards
    • Apple Developer Centers
    • Documentation

    Explore Documentation

    • Documentation Library
    • Technology Overviews
    • Sample Code
    • Human Interface Guidelines
    • Videos

    Release Notes

    • Featured Updates
    • iOS
    • iPadOS
    • macOS
    • watchOS
    • visionOS
    • tvOS
    • Xcode
    • Downloads

    Explore Downloads

    • All Downloads
    • Operating Systems
    • Applications
    • Design Resources

    Featured

    • Xcode
    • TestFlight
    • Fonts
    • SF Symbols
    • Icon Composer
    • Support

    Explore Support

    • Overview
    • Help Guides
    • Developer Forums
    • Feedback Assistant
    • Contact Us

    Featured

    • Account Help
    • App Review Guidelines
    • App Store Connect Help
    • Upcoming Requirements
    • Agreements and Guidelines
    • System Status
  • Quick Links

    • Events
    • News
    • Forums
    • Sample Code
    • Videos
 

Videos

Abrir menú Cerrar menú
  • Colecciones
  • Todos los videos
  • Información

Más videos

  • Información
  • Código
  • Get more mileage out of your app with CarPlay

    CarPlay is a smarter, safer way to use your iPhone while you drive. Learn about the latest app types for CarPlay and discover how the CarPlay Simulator can help you develop and test apps without leaving your desk. We'll also explore how navigation apps can connect with digital instrument clusters in supported vehicles.

    Recursos

    • CarPlay for developers
    • Human Interface Guidelines: CarPlay
      • Video HD
      • Video SD

    Videos relacionados

    WWDC23

    • Optimize CarPlay for vehicle systems

    Tech Talks

    • What's new for enterprise developers

    WWDC20

    • Accelerate your app with CarPlay

    WWDC18

    • CarPlay Audio and Navigation Apps
  • Buscar este video…
    • 15:43 - Application scene manifest

      <key>UIApplicationSceneManifest</key>
      <dict>
          <!-- Indicate support for CarPlay dashboard -->
          <key>CPSupportsDashboardNavigationScene</key>
          <true/>
          <!-- Indicate support for instrument cluster displays -->
          <key>CPSupportsInstrumentClusterNavigationScene</key>
          <true/>
          <!-- Indicate support for multiple scenes -->
          <key>UIApplicationSupportsMultipleScenes</key>
          <true/>
          <key>UISceneConfigurations</key>
          <dict>
              <!-- For device scenes -->
              <key>UIWindowSceneSessionRoleApplication</key>
              <array>
                  <dict>
                      <key>UISceneClassName</key>
                      <string>UIWindowScene</string>
                      <key>UISceneConfigurationName</key>
                      <string>Phone</string>
                      <key>UISceneDelegateClassName</key>
                      <string>MyAppWindowSceneDelegate</string>
                  </dict>
              </array>
              <!-- For the main CarPlay scene -->
              <key>CPTemplateApplicationSceneSessionRoleApplication</key>
              <array>
                  <dict>
                      <key>UISceneClassName</key>
                      <string>CPTemplateApplicationScene</string>
                      <key>UISceneConfigurationName</key>
                      <string>CarPlay</string>
                      <key>UISceneDelegateClassName</key>
                      <string>MyAppCarPlaySceneDelegate</string>
                  </dict>
              </array>
              <!-- For the CarPlay Dashboard scene -->
              <key>CPTemplateApplicationDashboardSceneSessionRoleApplication</key>
              <array>
                  <dict>
                      <key>UISceneClassName</key>
                      <string>CPTemplateApplicationDashboardScene</string>
                      <key>UISceneConfigurationName</key>
                      <string>CarPlay-Dashboard</string>
                      <key>UISceneDelegateClassName</key>
                      <string>MyAppCarPlayDashboardSceneDelegate</string>
                  </dict>
              </array>
              <!-- For the CarPlay instrument cluster scene -->
              <key>CPTemplateApplicationInstrumentClusterSceneSessionRoleApplication</key>
              <array>
                  <dict>
                      <key>UISceneClassName</key>
                      <string>CPTemplateApplicationInstrumentClusterScene</string>
                      <key>UISceneConfigurationName</key>
                      <string>CarPlay-Instrument-Cluster</string>
                      <key>UISceneDelegateClassName</key>
                      <string>MyAppCarPlayInstrumentClusterSceneDelegate</string>
                  </dict>
              </array>
          </dict>
      </dict>
    • 16:00 - Application instrument cluster scene delegate

      extension TemplateApplicationSceneDelegate: CPTemplateApplicationInstrumentClusterSceneDelegate {
          
          func templateApplicationInstrumentClusterScene(
              _ templateApplicationInstrumentClusterScene: CPTemplateApplicationInstrumentClusterScene,
              didConnect instrumentClusterController: CPInstrumentClusterController) {
              // Connected to Instrument Cluster
              TemplateManager.shared.clusterController(instrumentClusterController, didConnectWith: templateApplicationInstrumentClusterScene.contentStyle)
          }
          
      …
      
          func instrumentClusterControllerDidConnect(_ instrumentClusterWindow: UIWindow) {
              // Window in which to draw instrument cluster contents 
             self.instrumentClusterWindow = instrumentClusterWindow
          }

Developer Footer

  • Videos
  • WWDC22
  • Get more mileage out of your app with CarPlay
  • Open Menu Close Menu
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    • App Store
    Open Menu Close Menu
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • Icon Composer
    • SF Symbols
    Open Menu Close Menu
    • Accessibility
    • Accessories
    • Apple Intelligence
    • Audio & Video
    • Augmented Reality
    • Business
    • Design
    • Distribution
    • Education
    • Games
    • Health & Fitness
    • In-App Purchase
    • Localization
    • Maps & Location
    • Machine Learning & AI
    • Security
    • Safari & Web
    Open Menu Close Menu
    • Documentation
    • Downloads
    • Sample Code
    • Videos
    Open Menu Close Menu
    • Help Guides & Articles
    • Contact Us
    • Forums
    • Feedback & Bug Reporting
    • System Status
    Open Menu Close Menu
    • Apple Developer
    • App Store Connect
    • Certificates, IDs, & Profiles
    • Feedback Assistant
    Open Menu Close Menu
    • Apple Developer Program
    • Apple Developer Enterprise Program
    • App Store Small Business Program
    • MFi Program
    • Mini Apps Partner Program
    • News Partner Program
    • Video Partner Program
    • Security Bounty Program
    • Security Research Device Program
    Open Menu Close Menu
    • Meet with Apple
    • Apple Developer Centers
    • App Store Awards
    • Apple Design Awards
    • Apple Developer Academies
    • WWDC
    Read the latest news.
    Get the Apple Developer app.
    Copyright © 2026 Apple Inc. All rights reserved.
    Terms of Use Privacy Policy Agreements and Guidelines