获取版本信息

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

NSString *strVer = [NSString stringWithFormat:@"%@",[dict objectForKey:@"CFBundleShortVersionString"]];

原文地址:https://www.cnblogs.com/zhaozhongpeng/p/4866868.html