<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIAlertViewStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIAlertViewStyle"
  },
  "title" : "UIAlertViewStyle"
}
-->

# UIAlertViewStyle

The presentation style of the alert.

```
enum UIAlertViewStyle
```

## Topics

### Constants

[`UIAlertViewStyleDefault`](/documentation/UIKit/UIAlertViewStyle/default)

A standard alert.

[`UIAlertViewStyleSecureTextInput`](/documentation/UIKit/UIAlertViewStyle/secureTextInput)

An alert that allows the user to enter text. The text field is obscured.

[`UIAlertViewStylePlainTextInput`](/documentation/UIKit/UIAlertViewStyle/plainTextInput)

An alert that allows the user to enter text.

[`UIAlertViewStyleLoginAndPasswordInput`](/documentation/UIKit/UIAlertViewStyle/loginAndPasswordInput)

An alert that allows the user to enter a login identifier and password.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)