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.
- Example: Detecting Tangible Objects On The iPad Screen
- Open Source iOS Library For Easily Detecting Movement Speed And Type Of A User
- Apps Using UDIDs Being Rejected By Apple – Here’s How To Generate Replacements Quickly
- Open Source iOS Component Allowing You To Quickly Create A Customizable More Apps Listing View
- Tool: Debug Web Pages Viewed In The iOS Browser Remotely With Firebug Like Ease
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.