Skip to content

Conversation

@Andy0570
Copy link

Add new iPhone device model.

Add new iPhone device model.
@acton393
Copy link

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

Added iWatch, iPad, iPhone device types. reference:<https://www.theiphonewiki.com/wiki/Models>.
@Andy0570
Copy link
Author

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

@acton393
Copy link

@Andy0570 I will pull it agin to update it

@Andy0570
Copy link
Author

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

希望这些对大家有用。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants