Maximum number of UILocalNotification for iphone

Is the maximum number of UILocalNotification supported by iphone OS known? Apple's documentation says a maximum of 64, but I wonder what this is for each application or for all applications together.

Documentation at: http://developer.apple.com/library/ios/#documentation/iphone/Reference/UILocalNotification_Class/Reference/Reference.html

+7
iphone ios4 uilocalnotification
source share
4 answers

Limit on one application.

+5
source share

Each application on the device is limited to 64 scheduled local notifications. The system discards the scheduled notifications in excess of this limit, saving only 64 notifications, which as soon as possible. Duplicate notifications are considered as one notification.

Check out the document for more information.

+3
source share

It seems that in iOS 8.1 you can schedule more than 64 notifications per application, and they all quit. In my application, I tested it with 500 or more local notifications, and everything is planned and launched on the iPhone Simulator on a real iPhone 5s. Perhaps this is a bug in iOS 8.1, or Apple forgot to update the documentation.

+2
source share

Local notifications are primarily for timer-based apps and simple calendar or to-do apps. An application running in the background can also schedule a local notification informing the user about an incoming message, chat, or update. An application can only have a limited number of scheduled notifications; the system saves the fastest 64 notifications (with automatically transferred notifications, counting as one notification) and discards the rest.

https://developer.apple.com/library/ios/documentation/iphone/Reference/UILocalNotification_Class/index.html

0
source share

All Articles