YYKit
YYKit copied to clipboard
Update UIDevice+YYAdd.m
Add new iPhone device model.
hi @Andy0570 it looks like that the author will not try to maintain the repository any more, so I fork a repository and pick your commit
I have added a new device type that is not listed.
@Andy0570 I will pull it agin to update it
Hello everyone, Given that the repository has not been updated for a long time.
Recently I found an alternative solution from JKCategories.
This repository also provides a series of methods (JKCategories/UIKit/UIDevice/UIDevice+Hardware.m) to obtain the application device model.
Hope these are useful to everyone.
大家好,鉴于该存储库很久没有维护更新了。
最近,我在一个开源框架 JKCategories 找到了相同的解决方案。
这个开源框架提供了一系列的 categorires 分类,它里面也提供了获取应用设备型号的方法,该实现源码位于 JKCategories/UIKit/UIDevice/UIDevice+Hardware.m。最重要的是,这个库到目前为止还在维护中。
希望这些对大家有用。