NSExtensionContext_NCWidgetAdditions.GetWidgetActiveDisplayMode 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回小工具目前的顯示模式。
[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
參數
- This
- NSExtensionContext
此方法運作所在的擴充內容。
傳回
小工具目前的顯示模式。
- 屬性