Update UIDevice+YYAdd.m#476
Open
Andy0570 wants to merge 2 commits intoibireme:masterfrom
Andy0570:patch-1
Open
Update UIDevice+YYAdd.m#476Andy0570 wants to merge 2 commits intoibireme:masterfrom Andy0570:patch-1
Andy0570 wants to merge 2 commits intoibireme:masterfrom
Andy0570:patch-1
Conversation
Add new iPhone device model.
Added iWatch, iPad, iPhone device types. reference:<https://www.theiphonewiki.com/wiki/Models>.
Author
|
I have added a new device type that is not listed. |
|
@Andy0570 I will pull it agin to update it |
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。最重要的是,这个库到目前为止还在维护中。 希望这些对大家有用。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add new iPhone device model.