Enumeration

NCWidgetDisplayMode

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

Declaration

enum NCWidgetDisplayMode : Int

Topics

Constants

case compact

The current height of the widget is compact.

case expanded

The current height of the widget is expanded.

See Also

Customizing the Display

func widgetMarginInsets(forProposedMarginInsets: UIEdgeInsets) -> UIEdgeInsets

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