Splashscreen wrong since XCode 7

2019-03-05 06:38发布

I took over a project using AngularJS, Ionic and Bootstrap to create hybrid apps for mobile devices.

Prior to upgrade to XCode 7 all went well. I updated my HTML-, CSS- and JS-code in editor, ran grunt run:ios to create platform code and opened XCode. From there I built the .ipa-file without any issues (justwith some warnings, which could be ignored).

However since using XCode 7 (needed for iOS 8- and iOS 9-devices), the splascreen will be shown incorrectly. Meaning: Rotated with 90°.

Note #1: The splashscreen and the app have to be Landscape-only.

Note #2: When running grunt run:android, all is well on the Android-based device.

Any idea what to do in order to get the old correct state again?

1条回答
太酷不给撩
2楼-- · 2019-03-05 07:05

There is a known bug in the cordova-plugin-splashscreen plugin relating to your issue ( Issue CB-10244 ). Try to update this plugin to cordova-plugin-splashscreen@3.1.0 by re-adding it:

cordova plugin rm cordova-plugin-splashscreen
cordova plugin add cordova-plugin-splashscreen
查看更多
登录 后发表回答