<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?
<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?
its physically device pixel is also 320
retina is only a calculation issue.
like zifeiyuyu says it matters on the physically device resolution not on the virtually.
Greetz