1.  首页
  2.  博客
  3. 获得IOS APP Version Number

获得IOS APP Version Number


从ios 的 info.plist 中获得 ios apps version number

NSString * appversion = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"];

获得更详细的 信息:

for (id key in [[NSBundle mainBundle] infoDictionary])
{
    NSLog(@"$@",key);
}

评论 0