marinofaggiana vor 5 Jahren
Ursprung
Commit
94cd3c555f
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      iOSClient/AppDelegate.m

+ 3 - 1
iOSClient/AppDelegate.m

@@ -218,7 +218,9 @@
         [self.activeDetail.richDocument grabFocus];
     }
     
-    [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadName:@"applicationWillEnterForeground" object:nil];
+    dispatch_async(dispatch_get_main_queue(), ^{
+        [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadName:@"applicationWillEnterForeground" object:nil];
+    });
 }
 
 //