<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSNotification/Name-swift.struct/GCControllerDidDisconnect",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@GCControllerDidDisconnectNotification"
  },
  "title" : "GCControllerDidDisconnect"
}
-->

# GCControllerDidDisconnect

A notification that posts after a controller disconnects from the device.

```
static let GCControllerDidDisconnect: NSNotification.Name
```

## Discussion

The notification object is the <doc://com.apple.documentation/documentation/GameController/GCController> object that disconnects from the device.

The system posts this notification on the main actor.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)