iOS获取当前设备信息

2016-01-23 0 814
iOS获取当前设备信息
   //获取iOS设备的各种信息
   
    NSString *device_token = [[[UIDevice currentDevice] identifierForVendor] UUIDString];
    NSString *device_os = [[UIDevice currentDevice] systemVersion];
    //包含28个Key/Value
    NSDictionary *infoDic = [[NSBundle mainBundle] infoDictionary];
    NSString *currentVersion = [infoDic objectForKey:@"CFBundleShortVersionString"];

遇见资源网 objective-c iOS获取当前设备信息 http://www.ox520.com/18193.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务