application(_:didConnectCarInterfaceController:to:)
Tells the app delegate that the app connected to the CarPlay interface.
Declaration
func application(_ application: UIApplication, didConnectCarInterfaceController interfaceController: CPInterfaceController, to window: CPWindow)Parameters
- application:
Your singleton app object.
- interfaceController:
The interface controller provided by CarPlay. Your app should maintain a reference to this controller.
- window:
The CarPlay window. Your app should create its view controller and assign the controller to the Rootviewcontroller property of this window.