views:

94

answers:

1

Hello,

I have trouble with Safari included in iOS 4. I created application which should have same scale in portrait and landscape mode. However, iOS 4 zooms the viewport when changing from portrait to landscape orientation, although I included following viewport meta tag:

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

Screenshot of problem: http://dl.dropbox.com/u/841468/iphone.jpg

The application worked correctly under iPhone OS 3.x.

Thanks

A: 

Is this a duplicate of: http://stackoverflow.com/questions/2581957/iphone-safari-does-not-auto-scale-back-down-on-portrait-landscape-portrait

/Mogens

Mogens Beltoft
No, it isn't. My problem was partially solved by iOS 4.1 - it works correctly in application mode only (mode without Safari toolbars).
kuvik
How about the font resize problem in this answer: http://stackoverflow.com/questions/2977550/iphone-safari-css-rotation-bug
Mogens Beltoft