开发者

Check iOS device generation

How to check iOS device generation in its settings? If we go to Settings › General › About › Version then we see iOS version which is installed on device. H开发者_如何转开发ow to check iOS device generation in similar way?


Try UIDevice's systemVersion property.


Erica Sadun's uidevice-extension is useful for this. In particular, see UIDevice-Hardware.h

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜