title: What is a good way to identify iOS device from User Agent?
body: <p>Do all iOS devices send <code>iPhone</code>, <code>iPad</code> or <code>iPod</code> as part of the User Agent?</p>
  
  <p>Is it a good practice to test for those three strings to identify iOS devices?</p>
  
  <p>Does it work for all browsers including Safari, Firefox, Opera(?), etc?</p>
  
  <p>Using Ruby. I know I can use a gem but don't think it is necessary...</p>