"This snippet first detects if the device is an iPhone. If it is, the code uses JavaScript to pull the screen resolution. Using this method allows you to at least distinguish between iPhone 5, iPhone 4, and previous generations." Will the code snippet in the KB article work for later generations asw...