mercredi 6 mai 2015

didReceiveLocalNotification is never called in app icon touched launch

I can't find any right solution even after long searching. What is normal scenario in iOS in belows?

When the app gets local notification,

1) didReceiveLocalNotification is invoked when the app is in foreground. and also is invoked when notification banned touched launch.

However, under the same situation,

2) didReceiveLocalNotification method is not invoked by app icon touched launch.

Stackoverflow or Apple document said

in case of 2), applicationWillEnterForeground -> didReceiveLocalNotification -> applicationDidBecomeActive delegates process is normal. but I've never seen didReceiveLocalNotification in the case of touching app icon.

Please, give me an advice case 2) is normal or not. Help me!

Aucun commentaire:

Enregistrer un commentaire