I have added a local notification, it is getting triggered as well by displaying a banner on iOS6 and displaying alert in iOS5.
But in iOS6 the "didReceiveLocalNotification" method in app delegate is not getting called.
How can I know that a notification has occurred when the application is in the background?
Thanks.
It will never gets called in background. It will be called when your app is in foreground.
Check UIApplicationDelegate Protocol Reference link for more info
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With