摘要: 直接上代码: //获取系统info.plist文件中的键值对 NSDictionary *infoDict = [[NSBundle mainBundle] infoDictionary]; //获取软件的版本号 NSString *version = [infoDict objectForKey:@"CFBundleVersion"]; NSLog(@"版本号是=%@",version); //打印系统plist中所有的键值对 for (id key in infoDict) { NSLog(@"key:%@,value:%@",k 阅读全文
posted @ 2011-08-18 15:42 fighter 阅读(970) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2011-08-18 11:16 fighter 阅读(139) 评论(0) 推荐(0) 编辑