---
title: severity
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uialertcontroller/severity
---

# severity

Indicates the severity of the alert.

## Declaration

```swift
var severity: UIAlertControllerSeverity { get set }
```

## Discussion

Discussion See the UIAlertControllerSeverity enumeration for the list of alert severity constants.

## See Also

### Configuring alert severity

- [UIAlertControllerSeverity](uikit/uialertcontrollerseverity.md)
