I ve created a game using HTML5. the canvas size is 320×480. When the webpage opens in the browser of an iphone the canvas area will be placed in the left top corner of the browser and unless i zoom it i cannot play the game. What is that i can do .. please help. Thanks.
Share
You need to set the meta tag for viewport to the size of the iPhone screen.
This will scale the page correctly so that you do not have to zoom in at first, and will prevent the user from scaling after the page has opened.