标签:
//软件版本 - (void)softwareVersion { NSDictionary *infoDic = [[NSBundle mainBundle] infoDictionary]; NSString *currentVersion = [NSString stringWithFormat:@"当前软件版本为:%@",infoDic[@"CFBundleShortVersionString"]]; UIAlertView *alertView = [[UIAlertView alloc]initWithTitle:@"软件版本" message:currentVersion delegate:nil cancelButtonTitle:@"确定" otherButtonTitles: nil]; [alertView show]; }
标签:
原文地址:http://blog.csdn.net/u013243469/article/details/43673545