Instance Property

widgetActiveDisplayMode

The active display mode of the widget.

Declaration

var widgetActiveDisplayMode: NCWidgetDisplayMode { get }

See Also

Managing the Display Mode for a Widget

var widgetLargestAvailableDisplayMode: NCWidgetDisplayMode

The largest display mode the widget supports.

func widgetMaximumSize(for: NCWidgetDisplayMode) -> CGSize

Returns the maximum size for the specified widget display mode.