<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.14.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UserNotifications",
  "identifier" : "/documentation/UserNotifications/UNNotificationPresentationOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "User Notifications"
    ],
    "preciseIdentifier" : "c:@E@UNNotificationPresentationOptions"
  },
  "title" : "UNNotificationPresentationOptions"
}
-->

# UNNotificationPresentationOptions

Constants indicating how to present a notification in a foreground app.

```
struct UNNotificationPresentationOptions
```

## Topics

### Constants

[`badge`](/documentation/UserNotifications/UNNotificationPresentationOptions/badge)

Apply the notification’s badge value to the app’s icon.

[`banner`](/documentation/UserNotifications/UNNotificationPresentationOptions/banner)

Present the notification as a banner.

[`list`](/documentation/UserNotifications/UNNotificationPresentationOptions/list)

Show the notification in Notification Center.

[`sound`](/documentation/UserNotifications/UNNotificationPresentationOptions/sound)

Play the sound associated with the notification.

[`alert`](/documentation/UserNotifications/UNNotificationPresentationOptions/alert)

Display the alert using the content provided by the notification.

### Initializers

[`init(rawValue:)`](/documentation/UserNotifications/UNNotificationPresentationOptions/init(rawValue:))

Initializes a notification presentation options object using 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)