IOS成长之路-获取设备的信息
2013年04月04日
⁄ 综合
⁄ 共 676字 ⁄ 字号
小 中 大
-
NSLog(@"globallyUniqueString=%@",[[NSProcessInfo processInfo] globallyUniqueString]);
-
NSLog(@"uniqueIdentifie=%@",[UIDevice currentDevice].uniqueIdentifier);
-
NSLog(@"name=%@",[UIDevice currentDevice].name);
-
NSLog(@"systemName=%@",[UIDevice currentDevice].systemName);
-
NSLog(@"systemVersion=%@",[UIDevice currentDevice].systemVersion);
-
NSLog(@"model=%@",[UIDevice currentDevice].model);
-
NSLog(@"localizedModel=%@",[UIDevice currentDevice].localizedModel);
-
NSLog(@"batteryLevel=%lf",[UIDevice currentDevice].batteryLevel);