得到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);

    

你可能感兴趣的:(ios)