得到ios设备的一些信息

UIDevice *currentDevice = [UIDevicecurrentDevice];

    

    NSLog(@"Device's name = %@",currentDevice.name);

    NSLog(@"Device's identifierForVendor = %@",currentDevice.identifierForVendor);

    NSLog(@"Device's uniqueIdentifier = %@",currentDevice.uniqueIdentifier);

    NSLog(@"Device's model = %@",currentDevice.model);

    NSLog(@"Device's localizedModel = %@",currentDevice.localizedModel);

    NSLog(@"Device's systemName = %@",currentDevice.systemName);

    NSLog(@"Device's systemVersion = %@",currentDevice.systemVersion);

    

原文地址:https://www.cnblogs.com/sell/p/2835588.html