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

# UIUserNotificationType

Constants indicating how the app alerts the user when a local or push notification arrives.

```
struct UIUserNotificationType
```

## Topics

### Constants

[`UIUserNotificationTypeNone`](/documentation/UIKit/UIUserNotificationType/UIUserNotificationTypeNone)

The app does not present any UI upon receiving a notification.

[`UIUserNotificationTypeBadge`](/documentation/UIKit/UIUserNotificationType/badge)

The app badges its icon.

[`UIUserNotificationTypeSound`](/documentation/UIKit/UIUserNotificationType/sound)

The app plays a sound.

[`UIUserNotificationTypeAlert`](/documentation/UIKit/UIUserNotificationType/alert)

The app posts an alert.

### Initializers

[`init(rawValue:)`](/documentation/UIKit/UIUserNotificationType/init(rawValue:))

Creates a notification type with the specified raw value.

## Relationships

### Conforms To

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

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

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

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

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

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

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

[`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)