I'm making an iPhone App / Mobile Web site and when I access the site normally )(top image), everything is formated as it should be, but when I set it as a home screen app (bottom), the title goes behind the information bar at the top (or at least it does in the simulator). So I'm wondering what I can do to fix that, or if there's some way to declare separate styles if the iphone is in this mode. Thanks for any help you can provide.
Asked
Active
Viewed 346 times
1 Answers
4
if (("standalone" in window.navigator) && !window.navigator.standalone) {
// do something, like injecting a stylesheet via JS
}

ceejayoz
- 176,543
- 40
- 303
- 368