Marino Faggiana 7 жил өмнө
parent
commit
4c08df4977

+ 6 - 3
iOSClient/Main/CCMain.m

@@ -1622,10 +1622,13 @@
             
             
                 [alertController addAction:cancelAction];
                 [alertController addAction:cancelAction];
                 [alertController addAction:overwriteAction];
                 [alertController addAction:overwriteAction];
-
-                [self presentViewController:alertController animated:YES completion:nil];
            
            
-            
+                UIWindow *alertWindow = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
+                alertWindow.rootViewController = [[UIViewController alloc]init];
+                alertWindow.windowLevel = UIWindowLevelAlert + 1;
+                [alertWindow makeKeyAndVisible];
+                [alertWindow.rootViewController presentViewController:alertController animated:YES completion:nil];
+                
             } else {
             } else {
             
             
                 // Send to Upload Queue
                 // Send to Upload Queue