NSExtensionContext_NCWidgetAdditions.GetWidgetLargestAvailableDisplayMode(NSExtensionContext) NSExtensionContext_NCWidgetAdditions.GetWidgetLargestAvailableDisplayMode(NSExtensionContext) Method

Definition

Returns the largest available display mode for the widget.

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

Parameters

This
NSExtensionContext NSExtensionContext

The extension context on which this method operates.

Returns

The largest available display mode for the widget.

Applies to