Schedules a local notification for delivery at its encapsulated date and time.
- iOS 4.0–10.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
The local notification object that you want to schedule. This object contains information about when to deliver the notification and what to do when that date occurs. The system keeps a copy of this object so you may release the object once it is scheduled.
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.