Presents a local notification immediately.
- iOS 4.0–10.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
A local notification that the operating system presents for the app immediately, regardless of the value of the notification’s
fireproperty. Apps running in the background state can immediately present local notifications when there are incoming chats, messages, or updates. Because the operating system copies
notification, you may release it once you have scheduled it.
Prior to scheduling any local notifications, you must call the
register method to let the system know what types of alerts, if any, you plan to display to the user.