Editar

Compartilhar via


NSExtensionContext_NCWidgetAdditions Class

Definition

Extension context methods and properties for an NDWidget.

public static class NSExtensionContext_NCWidgetAdditions
type NSExtensionContext_NCWidgetAdditions = class
Inheritance
NSExtensionContext_NCWidgetAdditions

Methods

GetWidgetActiveDisplayMode(NSExtensionContext)

Returns the current display mode for the widget.

GetWidgetLargestAvailableDisplayMode(NSExtensionContext)

Returns the largest available display mode for the widget.

GetWidgetMaximumSize(NSExtensionContext, NCWidgetDisplayMode)

Returns the maximum size of the widget for the specified display mode.

SetWidgetLargestAvailableDisplayMode(NSExtensionContext, NCWidgetDisplayMode)

Sets the largest available display mode for the widget.

Applies to