iOS获取当前app版本号

NSDictionary *infoDic = [[NSBundlemainBundle] infoDictionary];

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

    NSLog(@"---当前 app版本号----%@",appVersion);

你可能感兴趣的:(iOS版本号)