Sfoglia il codice sorgente

Merge pull request #33 from studentdeng/master

[BUG FIX] fix iOS8 load all classes failed
Ryan Olson 11 anni fa
parent
commit
fefcd125b5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Classes/Utility/FLEXUtility.m

+ 1 - 1
Classes/Utility/FLEXUtility.m

@@ -90,7 +90,7 @@
 
 + (NSString *)applicationImageName
 {
-    return [[[NSProcessInfo processInfo] arguments] objectAtIndex:0];
+    return [[NSBundle mainBundle] executablePath];
 }
 
 + (NSString *)applicationName