Instance Property

widgetLargestAvailableDisplayMode

The largest display mode the widget supports.

Declaration

var widgetLargestAvailableDisplayMode: NCWidgetDisplayMode { get set }

Discussion

A widget that specifies can increase in height when the user taps the More button. The default value of this property is . At any time, you can change the largest display mode your widget supports by changing the value of this property. For example, you can update the property value as more or less content is available to display in your widget.

See Also

Managing the Display Mode for a Widget

var widgetActiveDisplayMode: NCWidgetDisplayMode

The active display mode of the widget.

func widgetMaximumSize(for: NCWidgetDisplayMode) -> CGSize

Returns the maximum size for the specified widget display mode.