Global Variable


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 }


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