title: iPhone - How do I detect the iPhone version?
body: <p>How do I detect if a user is running the application on an iPhone 4 or 3G/3GS?</p>
  
  <p>I need to detect the hardware, not the iOS version.</p>
  
  <p>thanks for any help.</p>