Get Updates By E-mail 

Article Written By:
Johann Dowa

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments