title: To detect IOS device type
body: <p>I have found the solutions from here:
  <a href="https://stackoverflow.com/questions/448162/determine-device-iphone-ipod-touch-with-iphone-sdk">Determine device (iPhone, iPod Touch) with iPhone SDK</a></p>
  
  <p>From the link, it suggests to use the library <a href="https://gist.github.com/1323251" rel="nofollow noreferrer">https://gist.github.com/1323251</a></p>
  
  <p>But obviously the library is quite outdated. I couldn't find the iPhone 5 and new iPad and etc in the list. </p>
  
  <p>Does anyone know how can I find the completed and updated list? </p>
  
  <p>Thank you so much.</p>