DidReceiveLocalNotification: call more than once for one notification

My application queues for local notifications using the UIApplicationLocalNotification: graph.

I am currently running two notifications (which have different contents) with the same fire time, but didReceiveLocalNotification: is called twice for the second notification.

I have 100% confirmed and verified four times by setting breakpoints and logging instructions that scheduleLocalNotification: receives only the call. However, I get didReceiveLocalNotification two times for the same notification (i.e. DidReceiveLocalNotification is called 3 times).

This only happens if two local notifications have the same response time - if they are different, everything is in order.

I am puzzled. Any ideas?

Recalling this: the local notification “didReceiveLocalNotification” rings twice

for me, this happens on hardware, and the state is the same.

+5
source share

All Articles