如何获取App当前版本号

 NSDictionary *infoDic = [[NSBundle mainBundle] infoDictionary];

 NSString *currentVersion = [infoDic objectForKey:@"CFBundleShortVersionString"];

 cell.textLabel.text = [NSString stringWithFormat:@"当前版本:%@",currentVersion];

posted @ 2015-10-20 14:09  CodingMann  阅读(362)  评论(0编辑  收藏  举报