---
title: GCStylusDidDisconnectNotification
framework: gamecontroller
role: symbol
role_heading: Global Variable
path: gamecontroller/gcstylusdiddisconnectnotification
---

# GCStylusDidDisconnectNotification

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

## Declaration

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

## Mentioned in

Discovering and tracking spatial game controllers and styli

## Discussion

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.

## See Also

### Accessing the styli

- [styli](gamecontroller/gcstylus/styli.md)
- [GCStylusDidConnectNotification](gamecontroller/gcstylusdidconnectnotification.md)
