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

    

posted @ 2012-12-27 13:55  diablo大王  阅读(167)  评论(0编辑  收藏  举报