iPhone 都会遭受到毁灭性的打击

当你手里有生龙活虎部将近报销的 金立时,你计划怎么来折磨它?我们已经旁观过不菲荒谬的做法了,而半数以上情景下,这一个旧的 中兴 都会遭境遇衰亡性的打击。

if([deviceString isEqualToString:@"iPhone9,2"] || [deviceString isEqualToString:@"iPhone9,4"])return@"iPhone 7 Plus";

{

if([deviceString isEqualToString:@"iPhone1,2"])return@"iPhone 3G";

if([deviceString isEqualToString:@"iPhone7,1"])return@"iPhone 6 Plus";

if([deviceString isEqualToString:@"iPhone6,1"])return@"iPhone 5S";

NSString*deviceString = [NSStringstringWithCString:systemInfo.machineencoding:NSUTF8StringEncoding];

if([deviceString isEqualToString:@"iPhone3,1"])return@"iPhone 4";

//iPhone

if([deviceString isEqualToString:@"iPhone8,1"])return@"iPhone 6s";

//记得导入#import "sys/utsname.h"

}

- (NSString*)deviceVersion

if([deviceString isEqualToString:@"iPhone10,1"] || [deviceString isEqualToString:@"iPhone10,4"])return@"iPhone 8";

if([deviceString isEqualToString:@"iPhone10,3"] || [deviceString isEqualToString:@"iPhone10,6"])return@"iPhone X";

uname(&systemInfo);

structutsname systemInfo;

本文由新豪天地登录网站发布于每日更新,转载请注明出处:iPhone 都会遭受到毁灭性的打击

相关阅读