YYKit icon indicating copy to clipboard operation
YYKit copied to clipboard

Update UIDevice+YYAdd.m

Open Andy0570 opened this issue 6 years ago • 4 comments

Add new iPhone device model.

Andy0570 avatar May 27 '18 14:05 Andy0570

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

acton393 avatar Nov 29 '18 15:11 acton393

I have added a new device type that is not listed.

Andy0570 avatar Nov 30 '18 02:11 Andy0570

@Andy0570 I will pull it agin to update it

acton393 avatar Nov 30 '18 04:11 acton393

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。最重要的是,这个库到目前为止还在维护中。

希望这些对大家有用。

Andy0570 avatar Apr 18 '20 03:04 Andy0570