widgetMaximumSize(for:)
Returns the maximum size for the specified widget display mode.
Declaration
func widgetMaximumSize(for displayMode: NCWidgetDisplayMode) -> CGSizeParameters
- displayMode:
The active display mode of the widget. For possible values, see Ncwidgetdisplaymode.