Since the update to xcode 10 cordova run ios does not work, instead use:
cordova run ios --buildFlag='-UseModernBuildSystem=0'
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:
Building Cordova for xcode 10.
cordova run ios
does not work, instead use:cordova run ios --buildFlag='-UseModernBuildSystem=0'
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 includeviewport-fit=cover
:<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, viewport-fit=cover">
I hope this helps anyone having issues getting the project to work with iOS.