Hello,
We are developing an HTML game using the Phaser framework with Javascript. We have run into some issues regarding the mobile usability for Safari on iPhones. At certain times the player's address bar appears, when this happens the game is moved down. Since the game is moved down, we lose access to part of the game. That leads me to our two questions:
1) How can we detect a swipe motion and then use that motion to hide the address bar?
2) How can we detect that the player address bar is open in the the first place?