瀏覽代碼

Iteration not needed

Sebastián Katzer 11 年之前
父節點
當前提交
69bcba1c27
共有 1 個文件被更改,包括 0 次插入9 次删除
  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];