<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCStylusDidDisconnectNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:@GCStylusDidDisconnectNotification"
  },
  "title" : "GCStylusDidDisconnectNotification"
}
-->

# GCStylusDidDisconnectNotification

A notification that posts after a stylus accessory disconnects from the
device.

```
extern NSString * const GCStylusDidDisconnectNotification;
```

## Discussion

Use this constant with `NSNotificationCenter` to listen for stylus
disconnection events.

The `object` property of the notification will contain the `GCStylus` that
was disconnected.

---

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)