I have searched alot, But I did not find the solution and don't Know why is this happening.
I am Creating and scheduling local notification and showing list of notifications in a table view. As my application launches the local notification are creating and showing in the table. But After pressing the home button the application will enter in the background and notifications are firing on their respective time set. After firing they also removed from the system array
[[UIApplication sharedApplication] scheduledLocalNotifications]
As I open the application again it become active and will enter in foreground state. and In app delegate method is calling
- (void)applicationDidBecomeActive:(UIApplication *)application
{
AnotherClass *class = [[AnotherClass alloc]init];
[class afterBecomeActive];
}
here is the AnotherClass Implementation. In Which I have to refresh the table..
-(void) afterBecomeActive
{
[tableView reloadData];
}
That table view is not reloading data or refreshing the data, contains the list of Local Notifications. All notifications are showings as it is and delegates methods are not calling. Please help.