iOS从info.plist获取项目的名称及版本号

NSString *executableFile = [[[NSBundle mainBundle] infoDictionary] objectForKey:(NSString *)kCFBundleExecutableKey];


NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:(NSString *)kCFBundleVersionKey];

posted @ 2015-07-11 19:54  WillkYang  阅读(167)  评论(0编辑  收藏  举报