Parcourir la source

[BUG FIX] fix iOS8 load all classes failed

studentdeng il y a 11 ans
Parent
commit
5fb6684b31
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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