I guess its very simple, but my search results just won't get me this scenario .
When user get a notification , but he is :
- not sliding the on lock screen's notification message, but open the app from the icon
- he just open the app after a while not from the notification message
How in these cases , you would know when app was opened , that there where notifications waiting for you in the stack ?
UILocalNotification * notification = [[UILocalNotification alloc] init];
notification.fireDate = newdate;
notification.repeatInterval = NSCalendarUnitDay;
notification.alertTitle=@"reminder";
notification.alertBody = message;
notification.soundName=@"shake.mp3";
notification.userInfo=med;