Skip to content

Cordova iOS run && iPhone White Bar #76

@victorsh

Description

@victorsh
  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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions