qdrj Posted March 20, 2014 Share Posted March 20, 2014 I'm using Phaser 2.0.1. How can I remove address bar in Safari (Iphone 4s, Safari) after orientation change? Link to comment Share on other sites More sharing options...
qdrj Posted March 20, 2014 Author Share Posted March 20, 2014 Found solution by myself This is TypeScript not JS private onLeaveIncorrectOrientation():void { // ... other stuff ... document.body.style.margin = "0 0 100px 0"; this.game.time.events.add(100, () => { document.body.style.margin = "0"}, this);} Link to comment Share on other sites More sharing options...
MaximeC Posted November 2, 2014 Share Posted November 2, 2014 This solution does not work for me (Phaser 2.1.3). I am using SHOW_ALL, I don't have that problem with RESIZE. Any idea? Edit: actually I don't have the issue with Chrome but only with Firefox. Link to comment Share on other sites More sharing options...
Recommended Posts