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
显示 的时间。
- 属性