---
title: UNNotificationPresentationOptions
framework: usernotifications
role: symbol
role_heading: Structure
path: usernotifications/unnotificationpresentationoptions
---

# UNNotificationPresentationOptions

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

## Declaration

```swift
struct UNNotificationPresentationOptions
```

## Topics

### Constants

- [badge](usernotifications/unnotificationpresentationoptions/badge.md)
- [banner](usernotifications/unnotificationpresentationoptions/banner.md)
- [list](usernotifications/unnotificationpresentationoptions/list.md)
- [sound](usernotifications/unnotificationpresentationoptions/sound.md)
- [alert](usernotifications/unnotificationpresentationoptions/alert.md)

### Initializers

- [init(rawValue:)](usernotifications/unnotificationpresentationoptions/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Receiving Notifications

- [userNotificationCenter(_:willPresent:withCompletionHandler:)](usernotifications/unusernotificationcenterdelegate/usernotificationcenter(_:willpresent:withcompletionhandler:).md)
