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
fireDate property. 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
registerUserNotificationSettings: method to let the system know what types of alerts, if any, you plan to display to the user.
The frame rectangle defining the area of the status bar.
The minimum amount of time (measured in seconds) an app may run a critical background task in the background.
Attempts to open the resource at the specified URL.
Sets the icon of a Newsstand app to an image depicting the current issue of a publication.
A Boolean value that determines whether the status bar is hidden.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software