Open Source iOS Library For Easily Detecting The Exact Hardware An App Is Running On

Late last year I mentioned a handy library for grabbing a multitude of system information such as battery information, and memory information. With even larger differences now between iOS devices it is important to be able to gather exactly which device an app is running on for adjustments.

Here’s an open source library from Jared Sinclair providing some handy functions for detecting current device hardware and Airdrop availability called JTSHardwareInfo.

JTSHardwareInfo includes methods for gathering the hardware identifier, hardware display name, and whether airdrop is available, and also includes very comprehensive enums containing all iOS hardware types, and families also with convenience methods for quick identification.

You can find JTSHardwareInfo on Github here.

A nice easy way to grab device information when changes are needed to adapt to different devices.

FacebookTwitterDiggStumbleUponGoogle Plus

Original article: Open Source iOS Library For Easily Detecting The Exact Hardware An App Is Running On

©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *