闪屏,因为X code 7错误 [英] Splashscreen wrong since XCode 7

查看:761
本文介绍了闪屏,因为X code 7错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我接手使用AngularJS项目,离子和Bootstrap创建混合应用程序的移动设备。

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

在此之前升级到X code 7一切顺利。我更新了我的HTML的,CSS-和JS- code编辑器,跑到咕噜运行:IOS 以创建平台code和打开X $ C $Ç 。从那里,我建了的.ipa文件没有任何问题(justwith一些警告,这可能会被忽略)。

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).

不过,由于使用X code 7(需要的iOS 8和iOS 9的设备),该splascreen会错误地显示。含义:90°旋转。

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

注1:闪屏和应用程序都必须景观,仅

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

注2:在运行时咕噜运行:机器人,一切都很好,基于Android的设备上

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?

推荐答案

有在科尔多瓦-插件,闪屏插件与您的问题(<一个一个已知的bug HREF =htt​​ps://issues.apache.org/jira/browse/CB-10244相对=nofollow>发行CB-10244 )。尝试通过更新此插件 cordova-plugin-splashscreen@3.1.0 重新添加它:

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

这篇关于闪屏,因为X code 7错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆