-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Iphone 5 compatibility #102
Comments
Hi - Once you've decided how you want to use the extra space, this might help - I've optimised the media-queries.css for iPhone 5 in my project by including these:
and for portrait mode:
|
thanks @CatherineEng, sorry for asking really dumb questions - if I just want the whole screen fill up my Book content with the extra space that Iphone 5 provide, what should i put for #your styles here? |
Hey @kkporter - it depends. In general I would say for iPhone 5 in portrait mode, set your container div height:100% or height:536px; - and in the landscape mode, width:100% or width:536px. If that isn't what you're after i.e. it merely stretches the page and distorts it, perhaps you could post an example of how your page is constructed and I can try to help further. On Mar 30, 2013, at 10:54 AM, kkporter wrote:
|
Hi @CatherineEng I started off with the Laker example: http://www.lakercompendium.com/downloads/laker-starter-pack-1.4.2.zip, replaced the book folder in Baker, and what I did so far was to put in every CSS files this code that you suggested earlier: /************************************************************************************
/************************************************************************************
} However seems it is not doing anything in my project, for both simulator and real device I still see the rest of IPhone 5 screen blacked out and not used. Please tell me what I did wrong, thanks!! |
Maybe its because of a bug regarding the viewport settings, see: http://www.kylejlarson.com/blog/2012/iphone-5-web-design/ |
Thanks @ffranke I took away the width=device-width in all the html pages, but still not working. |
hmm, maybe its a baker problem then? |
I believe it was because I used the github version instead of the official Baker 4.0 version when I made the standalone app, which is causing the problem. I re-do the standalone steps to the official 4.0 version and it worked!! Can close this ticket, thanks everyone! |
Hi all, I am a novice in coding, and very new to baker and laker. Can someone point me where to change for iphone 5 compatibility? Now when I adapt baker and laker code, in iphone 5 the vertical screen is not optimised fully.
The text was updated successfully, but these errors were encountered: