UIApplication.PresentLocalNotificationNow(UILocalNotification) Method

Definition

Immediately presents a local notification.

[Foundation.Export("presentLocalNotificationNow:")]
[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 PresentLocalNotificationNow (UIKit.UILocalNotification notification);
abstract member PresentLocalNotificationNow : UIKit.UILocalNotification -> unit
override this.PresentLocalNotificationNow : UIKit.UILocalNotification -> unit

Parameters

notification
UILocalNotification

Local notification that the operating system presents immediately for the app.

Attributes

Applies to