[UIDevice currentDevice]:表示设备
NSString *devices=[[NSString alloc]
initWithFormat:
@"unique id: %@ localized model: %@ system version: %@ system name: %@ model: %@",
[[UIDevice currentDevice] uniqueIdentifier],
[[UIDevice currentDevice] localizedModel],
[[UIDevice currentDevice] systemVersion],
[[UIDevice currentDevice] systemName],
[[UIDevice currentDevice] model]];
NSLog(@"%@",devices);