NSExtensionContext_NCWidgetAdditions.GetWidgetActiveDisplayMode(NSExtensionContext) NSExtensionContext_NCWidgetAdditions.GetWidgetActiveDisplayMode(NSExtensionContext) Method

Definition

Returns the current display mode for the widget.

[Foundation.Export("widgetActiveDisplayMode")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static NotificationCenter.NCWidgetDisplayMode GetWidgetActiveDisplayMode (this Foundation.NSExtensionContext This);
static member GetWidgetActiveDisplayMode : Foundation.NSExtensionContext -> NotificationCenter.NCWidgetDisplayMode

Parameters

This
NSExtensionContext NSExtensionContext

The extension context on which this method operates.

Returns

The current display mode for the widget.

Applies to