Procházet zdrojové kódy

fix : Pushing the same view controller instance more than once is not supported

Marino Faggiana před 7 roky
rodič
revize
faa40ac05e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      iOSClient/Main/CCMain.m

+ 1 - 1
iOSClient/Main/CCMain.m

@@ -5772,7 +5772,7 @@
     
         CCMain *viewController = [app.listMainVC objectForKey:serverUrlPush];
         
-        if (viewController.isViewLoaded == false || viewController == nil) {
+        if (!viewController) {
             
             viewController = [[UIStoryboard storyboardWithName:@"Main" bundle:nil] instantiateViewControllerWithIdentifier:@"CCMainVC"];