What screen size should we use for iOS app?


#1
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">

with this meta and

alert($window.innerWidth);

it shows “320”

but should it be 960 x 640 for retina iPhone?


#2

its physically device pixel is also 320


#3

retina is only a calculation issue.
like zifeiyu​yu says it matters on the physically device resolution not on the virtually.

Greetz