首页科技 › www.ca888.com关于iPhone手机型号的这些秘密,你买对了吗

www.ca888.com关于iPhone手机型号的这些秘密,你买对了吗

原标题:关于iPhone手机型号的这些秘密,你买对了吗

适配需要!

iPhone手机型号你真的了解吗?你又了解多少呢?大部分用户都只知道什么iPhone5/6/7、iPhoneX等这样简单的名称,可能认为这些就是iPhone手机型号了。其实并不是这样,iPhone手机每一款都会有不同型号,今天就来带大家一起聊一聊iPhone手机型号的小秘密吧!

所有的设备型号可以在维基百科中查到,分享实现文件。

www.ca888.com 1

//
//  DeviceModel.m
//  iReport
//
//  Created by cry on 2017/1/5.
//  Copyright © 2017年 foxhis. All rights reserved.
//

#import "DeviceModel.h"
#import <sys/utsname.h>

@implementation DeviceModel

+ (NSString *)deviceModelName {
    struct utsname systemInfo;
    uname(&systemInfo);
    NSString *deviceModel = [NSString stringWithCString:systemInfo.machine encoding:NSUTF8StringEncoding];
    //iPhone 系列
    if ([deviceModel isEqualToString:@"iPhone5,1"] || [deviceModel isEqualToString:@"iPhone5,2"]) return @"iPhone 5";
    if ([deviceModel isEqualToString:@"iPhone5,3"] || [deviceModel isEqualToString:@"iPhone5,4"]) return @"iPhone 5C";
    if ([deviceModel isEqualToString:@"iPhone6,1"] || [deviceModel isEqualToString:@"iPhone6,2"]) return @"iPhone 5S";
    if ([deviceModel isEqualToString:@"iPhone7,1"]) return @"iPhone 6 Plus";
    if ([deviceModel isEqualToString:@"iPhone7,2"]) return @"iPhone 6";
    if ([deviceModel isEqualToString:@"iPhone8,1"]) return @"iPhone 6S";
    if ([deviceModel isEqualToString:@"iPhone8,2"]) return @"iPhone 6S Plus";
    if ([deviceModel isEqualToString:@"iPhone8,4"]) return @"iPhone SE";
    if ([deviceModel isEqualToString:@"iPhone9,1"] || [deviceModel isEqualToString:@"iPhone9,3"]) return @"iPhone 7";
    if ([deviceModel isEqualToString:@"iPhone9,2"] || [deviceModel isEqualToString:@"iPhone9,4"]) return @"iPhone 7 Plus";
    if ([deviceModel isEqualToString:@"iPhone10,1"] || [deviceModel isEqualToString:@"iPhone10,4"]) return @"iPhone 8";
    if ([deviceModel isEqualToString:@"iPhone10,2"] || [deviceModel isEqualToString:@"iPhone10,4"]) return @"iPhone 8 Plus";
    if ([deviceModel isEqualToString:@"iPhone10,3"] || [deviceModel isEqualToString:@"iPhone10,6"]) return @"iPhone X";
    //iPad 系列
    if ([deviceModel isEqualToString:@"iPad1,1"]) return @"iPad 1";
    if ([deviceModel isEqualToString:@"iPad2,1"] || [deviceModel isEqualToString:@"iPad2,2"] || [deviceModel isEqualToString:@"iPad2,3"] || [deviceModel isEqualToString:@"iPad2,4"]) return @"iPad 2";
    if ([deviceModel isEqualToString:@"iPad2,5"] || [deviceModel isEqualToString:@"iPad2,6"] || [deviceModel isEqualToString:@"iPad2,7"]) return @"iPad mini";
    if ([deviceModel isEqualToString:@"iPad3,1"] || [deviceModel isEqualToString:@"iPad3,2"] || [deviceModel isEqualToString:@"iPad3,3"]) return @"iPad 3";
    if ([deviceModel isEqualToString:@"iPad3,4"] || [deviceModel isEqualToString:@"iPad3,5"] || [deviceModel isEqualToString:@"iPad3,6"]) return @"iPad 4";
    if ([deviceModel isEqualToString:@"iPad4,1"] || [deviceModel isEqualToString:@"iPad4,2"] || [deviceModel isEqualToString:@"iPad4,3"]) return @"iPad Air";
    if ([deviceModel isEqualToString:@"iPad4,4"] || [deviceModel isEqualToString:@"iPad4,5"] || [deviceModel isEqualToString:@"iPad4,6"]) return @"iPad mini 2";
    if ([deviceModel isEqualToString:@"iPad4,7"] || [deviceModel isEqualToString:@"iPad4,8"] || [deviceModel isEqualToString:@"iPad4,9"]) return @"iPad mini 3";
    if ([deviceModel isEqualToString:@"iPad5,1"] || [deviceModel isEqualToString:@"iPad5,2"]) return @"iPad mini 4";
    if ([deviceModel isEqualToString:@"iPad5,3"] || [deviceModel isEqualToString:@"iPad5,4"]) return @"iPad Air 2";
    if ([deviceModel isEqualToString:@"iPad6,3"] || [deviceModel isEqualToString:@"iPad6,4"] || [deviceModel isEqualToString:@"iPad6,7"] || [deviceModel isEqualToString:@"iPad6,8"] || [deviceModel isEqualToString:@"iPad7,3"] || [deviceModel isEqualToString:@"iPad7,4"]) return @"iPad Pro";
    if ([deviceModel isEqualToString:@"iPad6,11"] || [deviceModel isEqualToString:@"iPad6,12"]) return @"iPad 5";
    if ([deviceModel isEqualToString:@"iPad7,1"] || [deviceModel isEqualToString:@"iPad7,2"]) return @"iPad Pro 2";
    //模拟器
    if ([deviceModel isEqualToString:@"i386"] || [deviceModel isEqualToString:@"x86_64"]) return @"Simulator";

    return deviceModel;
}

@end

如何查看iPhone手机型号呢?

简单实用,欢迎采纳。

我的是iPhone6s手机,“设置”——“通用”——“关于本机”,向下拉可以看到“型号”栏,这样找到型号栏可以看到:MKRY2CH/A。

www.ca888.com 2

大家不妨看看自己的iPhone手机是什么型号,虽然不同的手机会有不同的型号,但是它们有一个共同点就是,型号都是由8位字符组成的。

比如,MKRY2CH/A,我们可以把它分成三个部分:M—KRY2—CH/A

M,通常是用来区分零售版和非零售版。

在实体店买到的,通常iPhone手机在型号的第一位是M,就表示是零售版的iPhone手机,也就是正规渠道销售而来的。如果不是M开头的,大家就应该注意了。

www.ca888.com 3

第一位字母如果是N,也是属于常见的一种,这个一般是你买的iPhone手机坏了,售后会给你换一部,而这部手机的型号第一位一定就是N打头的。

还有F和3开头的iPhone手机型号,F表示官方翻新的二手机,而3表示是在苹果体验店展示的手机,一般是不允许售卖的。

www.ca888.com 4

一般在iPhone手机型号第一位字母遇见:M,N,F,3这四个字母,都是正规渠道的一些机子。

而中间四位数KRY2,表示的是手机的颜色,内存容量等等。

而最后一个代表的手机来源,CH/A代表的为国行手机。另外ZP/A为港行、LL/A为美版等等。对于iPhone手机型号大家是不是已经了解了呢?赶紧看一看你的手机是什么型号的吧!

www.ca888.com 5

聊天记录删除之后怎么才能恢复呢?大家不妨关注小编,然后私信于我,就会自动获取恢复方法,当然也可以在手机上查找手机数据恢复精灵,也是可以帮你恢复已经删除的手机数据。返回搜狐,查看更多

责任编辑:

转载本站文章请注明出处:亚洲城手机客户端登录 https://www.little-lily.com/?p=2925

上一篇:

下一篇:

相关文章