JLChen
2021-05-18 a869383e163a18cdedcf587383c1eca043129754
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//
//  Copyright © 2015年 dahua. All rights reserved.
//
 
#import <UIKit/UIKit.h>
 
typedef NS_ENUM(char, iPhoneModel){//0~3
    iPhone4,//320*480
    iPhone5,//320*568
    iPhone6,//375*667
    iPhone6Plus,//414*736
    UnKnown
};
 
@interface UIDevice (IPhoneModel)
 
+ (iPhoneModel)lc_iPhonesModel;
 
 
 
+ (NSString *)lc_iPhoneType;
 
+ (BOOL)lc_isIphoneX;
 
/**
 获取设备的mac地址
 
 @return mac地址
 */
+ (NSString *)dh_getMacAddress;
 
 
 
@end