共用方式為


UIApplication.ScheduleLocalNotification(UILocalNotification) 方法

定義

notification排程傳遞的 。

[Foundation.Export("scheduleLocalNotification:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenter.AddNotificationRequest' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ScheduleLocalNotification (UIKit.UILocalNotification notification);
abstract member ScheduleLocalNotification : UIKit.UILocalNotification -> unit
override this.ScheduleLocalNotification : UIKit.UILocalNotification -> unit

參數

notification
UILocalNotification

即將排程的本機通知。

屬性

適用於