---
title: alert
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uiusernotificationtype/alert
---

# alert

The app posts an alert.

## Declaration

```swift
static var alert: UIUserNotificationType { get }
```

## See Also

### Constants

- [badge](uikit/uiusernotificationtype/badge.md)
- [sound](uikit/uiusernotificationtype/sound.md)
