Get All Local Notification

UIApplication *app = [UIApplication sharedApplication];
NSArray *alarmArray = [app scheduledLocalNotifications];

for (int i=0; i<[alarmArray count]; i++)
{
UILocalNotification* oneAlarm = [alarmArray objectAtIndex:i];
NSDictionary *userInfoCurrent = oneAlarm.userInfo;
NSDate *dateCurrent = [userInfoCurrent valueForKey:@"date"];
NSNumber *typeCurrent = [userInfoCurrent valueForKey:@"type"];
NSLog(@"Found scheduled alarm with date:%@, type:%@", dateCurrent,typeCurrent );
}