---
title: criticalAlert
framework: usernotifications
role: symbol
role_heading: Type Property
path: usernotifications/unauthorizationoptions/criticalalert
---

# criticalAlert

The ability to play sounds for critical alerts.

## Declaration

```swift
static var criticalAlert: UNAuthorizationOptions { get }
```

## Discussion

Discussion Critical alerts ignore the mute switch and Do Not Disturb; the system plays a critical alert’s sound regardless of the device’s mute or Do Not Disturb settings. You can specify a custom sound and volume. Critical alerts require a special entitlement issued by Apple.

## See Also

### Options

- [badge](usernotifications/unauthorizationoptions/badge.md)
- [sound](usernotifications/unauthorizationoptions/sound.md)
- [alert](usernotifications/unauthorizationoptions/alert.md)
- [carPlay](usernotifications/unauthorizationoptions/carplay.md)
- [providesAppNotificationSettings](usernotifications/unauthorizationoptions/providesappnotificationsettings.md)
- [provisional](usernotifications/unauthorizationoptions/provisional.md)
