Procházet zdrojové kódy

Iteration not needed

Sebastián Katzer před 11 roky
rodič
revize
69bcba1c27
1 změnil soubory, kde provedl 0 přidání a 9 odebrání
  1. 0 9
      src/ios/APPLocalNotification.m

+ 0 - 9
src/ios/APPLocalNotification.m

@@ -355,15 +355,6 @@
  */
 - (void) cancelAllLocalNotifications
 {
-    NSArray* notifications;
-
-    notifications = [[UIApplication sharedApplication]
-                     scheduledLocalNotifications];
-
-    for (UILocalNotification* notification in notifications) {
-        [self cancelLocalNotification:notification];
-    }
-
     [[UIApplication sharedApplication]
      cancelAllLocalNotifications];