Contents

templateApplicationScene(_:didConnect:)

Tells the delegate about the addition of a CarPlay scene to the app.

Declaration

optional func templateApplicationScene(_ templateApplicationScene: CPTemplateApplicationScene, didConnect interfaceController: CPInterfaceController)

Parameters

  • templateApplicationScene:

    The scene connecting to the app.

  • interfaceController:

    The interface controller for managing the user interface of this scene.

Mentioned in

Discussion

CarPlay calls this method when it launches your app and connects the scene. Use the interface controller to present your user interface templates. You must set the scene’s root template before returning from this method.

See Also

Responding to the Scene Life Cycle