ソースを参照

[BUG FIX] fix iOS8 load all classes failed

studentdeng 11 年 前
コミット
5fb6684b31
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  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