---
title: "application(_:didDisconnectCarInterfaceController:from:)"
framework: carplay
role: symbol
role_heading: Instance Method
path: "carplay/cpapplicationdelegate/application(_:diddisconnectcarinterfacecontroller:from:)"
---

# application(_:didDisconnectCarInterfaceController:from:)

Tells the app delegate that the app disconnected from the CarPlay interface.

## Declaration

```swift
func application(_ application: UIApplication, didDisconnectCarInterfaceController interfaceController: CPInterfaceController, from window: CPWindow)
```

## Parameters

- `application`: Your singleton app object.
- `interfaceController`: The interface controller provided by CarPlay. Your app should release its reference to this controller.
- `window`: The CarPlay window.

## See Also

### Connecting to the CarPlay Interface

- [application(_:didConnectCarInterfaceController:to:)](carplay/cpapplicationdelegate/application(_:didconnectcarinterfacecontroller:to:).md)
