Przeglądaj źródła

Merge pull request #33 from studentdeng/master

[BUG FIX] fix iOS8 load all classes failed
Ryan Olson 11 lat temu
rodzic
commit
fefcd125b5
1 zmienionych plików z 1 dodań i 1 usunięć
  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