<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/kAudioServicesPropertyIsUISound",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Audio Toolbox"
    ],
    "preciseIdentifier" : "c:@Ea@kAudioServicesPropertyIsUISound@kAudioServicesPropertyIsUISound"
  },
  "title" : "kAudioServicesPropertyIsUISound"
}
-->

# kAudioServicesPropertyIsUISound

A `UInt32` value, where `1` means that, for the audio file specified by a system sound passed in the `inSpecifier` parameter, the System Sound server respects the user setting in the Sound Effects preference and is silent when the user turns off sound effects.

```
var kAudioServicesPropertyIsUISound: AudioServicesPropertyID { get }
```

## Discussion

This property is set to `1` by default. Set it to `0` for the system sound to always play when passed to [`AudioServicesPlaySystemSound(_:)`](/documentation/AudioToolbox/AudioServicesPlaySystemSound(_:)), regardless of the user’s setting in sound preferences.

---

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)