소스 검색

[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