Mac获取系统版本、机型
// 获取系统版本 NSString *versionString; NSDictionary * sv = [NSDictionary dictionaryWithContentsOfFile:@"/System/Library/CoreServices/SystemVersion.plist"]; versionString = [sv objectForKey:@"ProductVersion"]; NSLog(@"