ソースを参照

Merge pull request #33 from studentdeng/master

[BUG FIX] fix iOS8 load all classes failed
Ryan Olson 11 年 前
コミット
fefcd125b5
共有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