---
title: UIAlertControllerSeverity
framework: uikit
role: symbol
role_heading: Enumeration
path: uikit/uialertcontrollerseverity
---

# UIAlertControllerSeverity

Constants for specifying the severity of an alert in apps built with Mac Catalyst.

## Declaration

```swift
enum UIAlertControllerSeverity
```

## Overview

Overview This enumeration defines the severity options used by the severity property of UIAlertController. In apps built with Mac Catalyst, the severity determines the style of the presented alert. A UIAlertControllerSeverity.critical alert appears with a caution icon, and an alert with a UIAlertControllerSeverity.default severity doesn’t. UIKit ignores the alert severity on iOS. You should only use the UIAlertControllerSeverity.critical severity if an alert truly requires special attention from the user. For more information, see the Human Interface Guidelines on alerts.

## Topics

### Constants

- [UIAlertControllerSeverity.critical](uikit/uialertcontrollerseverity/critical.md)
- [UIAlertControllerSeverity.default](uikit/uialertcontrollerseverity/default.md)

### Initializers

- [init(rawValue:)](uikit/uialertcontrollerseverity/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring alert severity

- [severity](uikit/uialertcontroller/severity.md)
