Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cordova iOS run && iPhone White Bar #76

Open
victorsh opened this issue Oct 2, 2018 · 0 comments
Open

Cordova iOS run && iPhone White Bar #76

victorsh opened this issue Oct 2, 2018 · 0 comments

Comments

@victorsh
Copy link

victorsh commented Oct 2, 2018

  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.

@lean lean changed the title Cordova iOS run && iPhone White Bar [Enhancement] Cordova iOS run && iPhone White Bar Oct 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants