<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "PreferencePanes",
  "identifier" : "/documentation/PreferencePanes",
  "metadataVersion" : "0.1.0",
  "role" : "Framework",
  "symbol" : {
    "kind" : "Framework",
    "modules" : [
      "Preference Panes"
    ],
    "preciseIdentifier" : "PreferencePanes"
  },
  "title" : "Preference Panes"
}
-->

# Preference Panes

Integrate your app’s custom preferences into the System Preferences app.

## Overview

Use the Preference Panes framework to integrate your custom system-level preferences into the System Preferences app. You use this framework to implement a preference pane bundle, which contains the custom interface you want to display to the user. You then install your bundle in the appropriate `Library/PreferencePanes` directory on the user’s system.

System Preferences works with your bundle’s custom [`NSPreferencePane`](/documentation/PreferencePanes/NSPreferencePane) object to manage the presentation of your custom interface to the user. System Preferences loads the view provided by your bundle and delivers lifecycle events to your preference pane object. Use that object to respond to interactions with the controls and views of your interface and to save any settings changes to the user’s defaults database.

> Note:
> Use preference pane bundles only for settings that must be managed separately from your app. For example, use it to manage settings that are shared between multiple apps in the same suite. Manage app-specific preferences using a custom preferences interface.

## Topics

### Preference Pane Interface

[`NSPreferencePane`](/documentation/PreferencePanes/NSPreferencePane)

The interface for providing preference panes to System Preferences or other apps.

### Notifications

  <doc://com.apple.documentation/documentation/Foundation/NSNotification/Name-swift.struct/NSPreferencePrefPaneIsAvailable>

[`NSPreferencePrefPaneIsAvailableNotification`](/documentation/PreferencePanes/NSPreferencePrefPaneIsAvailableNotification)

Notifies observers that the system preferences app is available to display your preferences.

  <doc://com.apple.documentation/documentation/Foundation/NSNotification/Name-swift.struct/NSPreferencePaneDoUnselect>

[`NSPreferencePaneDoUnselectNotification`](/documentation/PreferencePanes/NSPreferencePaneDoUnselectNotification)

Notifies observers that the preference pane may be deselected.

  <doc://com.apple.documentation/documentation/Foundation/NSNotification/Name-swift.struct/NSPreferencePaneCancelUnselect>

[`NSPreferencePaneCancelUnselectNotification`](/documentation/PreferencePanes/NSPreferencePaneCancelUnselectNotification)

Notifies observers that the preference pane should not be deselected.

  <doc://com.apple.documentation/documentation/Foundation/NSNotification/Name-swift.struct/NSPreferencePaneSwitchToPane>

[`NSPreferencePaneSwitchToPaneNotification`](/documentation/PreferencePanes/NSPreferencePaneSwitchToPaneNotification)

Notifies observers that the user selected a new preference pane.

  <doc://com.apple.documentation/documentation/Foundation/NSNotification/Name-swift.struct/NSPreferencePaneUpdateHelpMenu>

[`NSPreferencePaneUpdateHelpMenuNotification`](/documentation/PreferencePanes/NSPreferencePaneUpdateHelpMenuNotification)

Notifies observers that your help menu content changed.

### Help Menu Keys

[`NSPrefPaneHelpMenuInfoPListKey`](/documentation/PreferencePanes/NSPrefPaneHelpMenuInfoPListKey)

The global help menu items associated with a preference pane.

[`NSPrefPaneHelpMenuTitleKey`](/documentation/PreferencePanes/NSPrefPaneHelpMenuTitleKey)

The title of a help menu item in a preference pane.

[`NSPrefPaneHelpMenuAnchorKey`](/documentation/PreferencePanes/NSPrefPaneHelpMenuAnchorKey)

The help book anchor to display.

### Reference

[PreferencePanes Constants](/documentation/PreferencePanes/preferencepanes-constants)



---

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)