获取当前app版本号
2016-12-03 本文已影响14人
NateLam
NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
CFShow((__bridge CFTypeRef)(infoDictionary));
NSString *appCurVersion = [infoDictionary objectForKey:@"CFBundleShortVersionString"];