<!--
{
  "availability" : [
    "macCatalyst: 14.0.0 -",
    "macOS: 10.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PreferencePanes",
  "identifier" : "/documentation/PreferencePanes/NSPreferencePaneDoUnselectNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Preference Panes"
    ],
    "preciseIdentifier" : "c:@NSPreferencePaneDoUnselectNotification"
  },
  "title" : "NSPreferencePaneDoUnselectNotification"
}
-->

# NSPreferencePaneDoUnselectNotification

Notifies observers that the preference pane may be deselected.

```
extern NSString * const NSPreferencePaneDoUnselectNotification;
```

## Discussion

Posted when [`reply(toShouldUnselect:)`](/documentation/PreferencePanes/NSPreferencePane/reply(toShouldUnselect:)) is invoked with an argument of <doc://com.apple.documentation/documentation/Swift/true> after [`shouldUnselect`](/documentation/PreferencePanes/NSPreferencePane/shouldUnselect) has returned a value of [`NSPreferencePaneUnselectReply.unselectLater`](/documentation/PreferencePanes/NSPreferencePaneUnselectReply/unselectLater).

---

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)