<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BundleResources",
  "identifier" : "/documentation/BundleResources/Information-Property-List/NSAccentColorName",
  "metadataVersion" : "0.1.0",
  "role" : "Property List Key",
  "symbol" : {
    "kind" : "Property List Key",
    "modules" : [
      "Bundle Resources"
    ],
    "preciseIdentifier" : "plist:Information_Property_List.NSAccentColorName"
  },
  "title" : "NSAccentColorName"
}
-->

# NSAccentColorName

The name of a color in an asset catalog to use for a target’s global accent color.

## Discussion

This `Info.plist` value controls the global tint color (iOS and watchOS) or accent color (macOS) for the target.  When set in a widget extension, the widget configuration user interface uses this color as the tint color while editing a widget.

While you can set this directly in your `Info.plist`, the recommended approach is to use the `Global Accent Color Name` build setting (in the `Asset Catalog Compiler - Options` section) of the target.  Set the value of the build setting to the name of the Color Set in the asset catalog. Xcode automatically sets `NSAccentColorName` to the appropriate value in the `Info.plist` file when building your project.

---

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)