GKNotificationBanner.Show 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Show(String, String, Action) | |
Show(String, String, Double, Action) |
向使用者顯示指定時間的訊息,其中包含指定的標題。 |
Show(String, String, Action)
[Foundation.Export("showBannerWithTitle:message:completionHandler:")]
public static void Show (string title, string message, Action onCompleted);
static member Show : string * string * Action -> unit
參數
- 屬性
適用於
Show(String, String, Double, Action)
向使用者顯示指定時間的訊息,其中包含指定的標題。
[Foundation.Export("showBannerWithTitle:message:duration:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void Show (string title, string message, double durationSeconds, Action completionHandler);
[Foundation.Export("showBannerWithTitle:message:duration:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public static void Show (string title, string message, double durationSeconds, Action completionHandler);
static member Show : string * string * double * Action -> unit
參數
- durationSeconds
- Double
顯示 的時間。
- 屬性