<!--
{
  "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.

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

The app badges its icon.

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

The app plays a sound.

[`alert`](/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.



---

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)