phaser-es6-webpack icon indicating copy to clipboard operation
phaser-es6-webpack copied to clipboard

Cordova iOS run && iPhone White Bar

Open victorsh opened this issue 7 years ago • 0 comments

  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'
  1. 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.

victorsh avatar Oct 02 '18 08:10 victorsh