NSExtensionContext_NCWidgetAdditions.SetWidgetLargestAvailableDisplayMode(NSExtensionContext, NCWidgetDisplayMode) NSExtensionContext_NCWidgetAdditions.SetWidgetLargestAvailableDisplayMode(NSExtensionContext, NCWidgetDisplayMode) Method

Definition

Sets the largest available display mode for the widget.

[Foundation.Export("setWidgetLargestAvailableDisplayMode:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void SetWidgetLargestAvailableDisplayMode (this Foundation.NSExtensionContext This, NotificationCenter.NCWidgetDisplayMode mode);
static member SetWidgetLargestAvailableDisplayMode : Foundation.NSExtensionContext * NotificationCenter.NCWidgetDisplayMode -> unit

Parameters

This
NSExtensionContext NSExtensionContext

The extension context on which this method operates.

mode
NCWidgetDisplayMode NCWidgetDisplayMode

The display mode to set.

Applies to