获取版本信息

NSDictionary *dict = [[NSBundle mainBundle] infoDictionary];

NSString *strVer = [NSString stringWithFormat:@"%@",[dict objectForKey:@"CFBundleShortVersionString"]];

posted @ 2015-10-10 14:50  上官元空  阅读(139)  评论(0编辑  收藏  举报