lean / phaser-es6-webpack

A bootstrap project for create games with Phaser + ES6 + Webpack.
MIT License
1.28k stars 316 forks source link

Cordova iOS run && iPhone White Bar #76

Open victorsh opened 6 years ago

victorsh commented 6 years ago
  1. Building Cordova for xcode 10.

    • Since the update to xcode 10 cordova run ios does not work, instead use:
    • cordova run ios --buildFlag='-UseModernBuildSystem=0'
  2. I believe any iPhone beyond iPhone 8-plus has a white bar on top of the application. This can be fixed by modifying the index.html file to include viewport-fit=cover:

    • <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, viewport-fit=cover">
screen shot 2018-10-02 at 12 59 19 am

I hope this helps anyone having issues getting the project to work with iOS.