marinofaggiana 4 жил өмнө
parent
commit
0b927dc95f

+ 1 - 3
iOSClient/AppDelegate.m

@@ -587,9 +587,7 @@
         if (items == 0) {
             completionHandler(UIBackgroundFetchResultNoData);
         } else {
-            dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 3 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
-                completionHandler(UIBackgroundFetchResultNewData);
-            });
+            completionHandler(UIBackgroundFetchResultNewData);
         }
     }];
 }