Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UILocalNotification Maximum Discrepancy

In Apple's Local and Push Notification Programming Guide, it says:

Each application on a device is limited to the soonest-firing 64 scheduled local notifications. The operating system discards notifications that exceed this limit. It considers a recurring notification to be a single notification. LINK

However, in the iOS Application Programming Guide, it says

Listing 4-3 shows an example that schedules a single alarm using a date and time that is set by the user. This example configures only one alarm at a time and cancels the previous alarm before scheduling a new one. (Your own applications can have no more than 128 local notifications active at any given time, any of which can be configured to repeat at a specified interval.) LINK

Which of these is true? Do I get 64 notifications or 128 notifications?

like image 765
Alexsander Akers Avatar asked May 22 '11 23:05

Alexsander Akers


1 Answers

I finally did a test, and the answer is 64 local notifications.

like image 156
Alexsander Akers Avatar answered Oct 15 '22 20:10

Alexsander Akers