編集

次の方法で共有


NSExtensionContext_NCWidgetAdditions.SetWidgetLargestAvailableDisplayMode 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

The extension context on which this method operates.

mode
NCWidgetDisplayMode

The display mode to set.

Attributes

Applies to