|
|
@@ -94,25 +94,6 @@
|
|
|
return notifications;
|
|
|
}
|
|
|
|
|
|
-/**
|
|
|
- * List of all local notifications which have been scheduled
|
|
|
- * and not yet removed from the notification center.
|
|
|
- */
|
|
|
-- (NSArray*) scheduledLocalNotifications2
|
|
|
-{
|
|
|
- NSArray* scheduledNotifications = self.scheduledLocalNotifications;
|
|
|
- NSMutableArray* notifications = [[NSMutableArray alloc] init];
|
|
|
-
|
|
|
- for (UILocalNotification* notification in scheduledNotifications)
|
|
|
- {
|
|
|
- if (notification && [notification isScheduled]) {
|
|
|
- [notifications addObject:notification];
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- return notifications;
|
|
|
-}
|
|
|
-
|
|
|
/**
|
|
|
* List of all triggered local notifications which have been scheduled
|
|
|
* and not yet removed the notification center.
|