Instance Method

widgetMaximumSizeForDisplayMode:

Returns the maximum size for the specified widget display mode.

Declaration

- (CGSize)widgetMaximumSizeForDisplayMode:(NCWidgetDisplayMode)displayMode;

Parameters

displayMode

The active display mode of the widget. For possible values, see .

See Also

Managing the Display Mode for a Widget

widgetLargestAvailableDisplayMode

The largest display mode the widget supports.

widgetActiveDisplayMode

The active display mode of the widget.