Instance Method

scheduleLocalNotification:

Schedules a local notification for delivery at its encapsulated date and time.

Declaration

- (void)scheduleLocalNotification:(UILocalNotification *)notification;

Parameters

notification

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.

Discussion

Prior to scheduling any local notifications, you must call the registerUserNotificationSettings: method to let the system know what types of alerts, if any, you plan to display to the user.

See Also

Deprecated Symbols

- registerUserNotificationSettings:

Registers your preferred options for notifying the user.

Deprecated
currentUserNotificationSettings

Returns the user notification settings for the app.

Deprecated
UIRemoteNotificationType

Constants indicating the types of notifications the app may display to the user.

Deprecated
- openURL:

Attempts to open the resource at the specified URL.

Deprecated
- presentLocalNotificationNow:

Presents a local notification immediately.

Deprecated
- cancelLocalNotification:

Cancels the delivery of the specified scheduled local notification.

Deprecated
- cancelAllLocalNotifications

Cancels the delivery of all scheduled local notifications.

Deprecated
scheduledLocalNotifications

All currently scheduled local notifications.

Deprecated
- setNewsstandIconImage:

Sets the icon of a Newsstand app to an image depicting the current issue of a publication.

Deprecated
- setKeepAliveTimeout:handler:

Configures a periodic handler for VoIP apps in older versions of iOS.

Deprecated
- clearKeepAliveTimeout

Removes a previously installed periodic handler block.

Deprecated
- setStatusBarHidden:withAnimation:

Hides or shows the status bar, optionally animating the transition.

Deprecated
statusBarHidden

A Boolean value that determines whether the status bar is hidden.

Deprecated
- setStatusBarStyle:animated:

Sets the style of the status bar, optionally animating the transition to the new style.

Deprecated
statusBarStyle

The current style of the status bar.

Deprecated
- setStatusBarOrientation:animated:

Sets the app's status bar to the specified orientation, optionally animating the transition.

Deprecated
statusBarOrientation

The current orientation of the app's status bar.

Deprecated
- registerForRemoteNotificationTypes:

Register to receive remote notifications of the specified types via Apple Push Notification service.

Deprecated
- enabledRemoteNotificationTypes

Returns the types of notifications the app accepts.

Deprecated
proximitySensingEnabled

A Boolean value that determines whether proximity sensing is enabled.

Deprecated
- setStatusBarHidden:animated:

Hides or shows the status bar, optionally animating the transition.

Deprecated