Explorar el Código

[BUG FIX] fix iOS8 load all classes failed

studentdeng hace 11 años
padre
commit
5fb6684b31
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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