---
title: NCWidgetDisplayMode
framework: notificationcenter
role: symbol
role_heading: Enumeration
path: notificationcenter/ncwidgetdisplaymode
---

# NCWidgetDisplayMode

The modes that can be toggled between when the user activates the More button for a widget running in iOS.

## Declaration

```swift
enum NCWidgetDisplayMode
```

## Topics

### Constants

- [NCWidgetDisplayMode.compact](notificationcenter/ncwidgetdisplaymode/compact.md)
- [NCWidgetDisplayMode.expanded](notificationcenter/ncwidgetdisplaymode/expanded.md)

### Initializers

- [init(rawValue:)](notificationcenter/ncwidgetdisplaymode/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Customizing the Display

- [widgetMarginInsets(forProposedMarginInsets:)](notificationcenter/ncwidgetproviding/widgetmargininsets(forproposedmargininsets:).md)
- [widgetActiveDisplayModeDidChange(_:withMaximumSize:)](notificationcenter/ncwidgetproviding/widgetactivedisplaymodedidchange(_:withmaximumsize:).md)
