---
title: UIAlertController.Style
framework: uikit
role: symbol
role_heading: Enumeration
path: uikit/uialertcontroller/style
---

# UIAlertController.Style

Constants indicating the type of alert to display.

## Declaration

```swift
enum Style
```

## Topics

### Constants

- [UIAlertController.Style.actionSheet](uikit/uialertcontroller/style/actionsheet.md)
- [UIAlertController.Style.alert](uikit/uialertcontroller/style/alert.md)

### Initializers

- [init(rawValue:)](uikit/uialertcontroller/style/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 the alert

- [title](uikit/uialertcontroller/title.md)
- [message](uikit/uialertcontroller/message.md)
- [preferredStyle](uikit/uialertcontroller/preferredstyle.md)
