I want to have a web view with one HTML and one CSS file, display graphics of the same size, but my own resolution for each.
My existing 320x480 web reviews seem to scale well (like crisp text and radius radius), although the images are halfway in the iPhone4 simulator. How to simulate the loading behavior of a native image when a graphical or dual res version is automatically selected using HTML, CSS or JS? (hope not js)
I am currently using a view view declaration:
<meta content='initial-scale=0.5; maximum-scale=1.0; minimum-scale=0.5; user-scalable=0;' name='viewport' />
This reduces the scale, and the image pixels are 1: 1 with the pixels of the display, but also reduce everything else. And, of course, it's tiny on the smaller screen of the iPhone.
Do I have a feeling that this is due to some kind of multimedia request in the viewport format?
source
share