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

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

获得更详细的 信息:

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