获取IOS设备的代码
来源:互联网 发布:非线性最优化求参数 编辑:程序博客网 时间:2024/05/20 13:40
- (void)viewDidLoad {
[super viewDidLoad];
NSString *systemName = [[UIDevice currentDevice] systemName];
NSString *systemVersion = [[UIDevice currentDevice] systemVersion];//os version
NSString *model = [[UIDevice currentDevice] model];
NSString * name = [[UIDevice currentDevice] name];
NSLog(@"%@",systemVersion);
NSLog(@"%@",systemName);
NSLog(@"%@",model);
NSLog(@"%@",name);
}
[super viewDidLoad];
NSString *systemName = [[UIDevice currentDevice] systemName];
NSString *systemVersion = [[UIDevice currentDevice] systemVersion];//os version
NSString *model = [[UIDevice currentDevice] model];
NSString * name = [[UIDevice currentDevice] name];
NSLog(@"%@",systemVersion);
NSLog(@"%@",systemName);
NSLog(@"%@",model);
NSLog(@"%@",name);
}
0 0
- 获取IOS设备的代码
- [代码]获取iOS设备的型号 ?
- iOS获取设备剩余存储空间代码片段
- iOS获取设备剩余存储空间代码片段
- iOS获取设备剩余存储空间代码片段
- iOS获取设备剩余存储空间代码片段
- IOS获取设备代码MAC和UUID
- 获取ios 设备的设备标识
- 获取iOS的设备型号
- iOS获取设备的序列号
- 获取IOS的设备类型
- IOS 获取设备的信息
- iOS获取设备的语言
- iOS 获取设备的UUID
- iOS设备信息的获取
- 获取iOS设备的信息
- IOS获取设备的IP
- 获取设备的ios版本号
- php使用 短信宝 发送短信(thinkphp)
- gtk学习
- HDU 1815 Building roads 二分+2-sat充分理解建图
- 游标使用实例
- 图片的旋转
- 获取IOS设备的代码
- 图片的压缩的几种方法
- leetcode Peeking Iterator
- iOS绘制虚线方式总结
- 图片的一些高级处理
- 深感身体太差,买些器械练练
- Redis-数据类型和方法
- nodejs win7 安装失败
- Android Studio插件整理