Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

getScreenHeight called by framework returns wrong orientation in RC2 #3003

Closed
claudiuchetan opened this issue Nov 9, 2011 · 2 comments
Closed

Comments

@claudiuchetan
Copy link

I have page head containing:
meta name="apple-mobile-web-app-capable" content="yes"
meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=yes;"

The orientation var in $.mobile's getScreenHeight returns the wrong orientation when running from a shortcut on the home screen..
Removing "apple-mobile-web-app-capable" fixes the problem.

This only happens in RC2, all versions prior work ok.
This happens on iOS 4.3.

@mdhari
Copy link

mdhari commented Nov 9, 2011

Might be a repeat of Issue #2933

@claudiuchetan
Copy link
Author

Yes, that seems about right.
Thanks for the reference.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants