Enumeration

NCWidgetDisplayMode

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

Declaration

typedef enum NCWidgetDisplayMode : NSInteger {
    ...
} NCWidgetDisplayMode;

Topics

Constants

NCWidgetDisplayModeCompact

The current height of the widget is compact.

NCWidgetDisplayModeExpanded

The current height of the widget is expanded.

See Also

Customizing the Display

- widgetMarginInsetsForProposedMarginInsets:

Called to let a widget accept the default margin inset values or return custom values to use instead.

- widgetActiveDisplayModeDidChange:withMaximumSize:

Called when the active display mode changes.