当我推送到我的iOS设备时,我现在卡在闪屏上.我已经确保通过bower安装安装ngCordova,并且我的所有离子仿真都按预期工作.只有当我部署到iOS设备时,它才会卡在启动画面上.我在config.xml文件中包含了启动屏幕的正确语法
<preference name="AutoHideSplashScreen" value="false" />
<feature name="SplashScreen">
<param name="ios-package" value="CDVSplashScreen" onload="true"/>
</feature>
Run Code Online (Sandbox Code Playgroud)
我在我的主app.js文件中有以下内容
.run(function($ionicPlatform, $cordovaSplashscreen, $timeout) {
$ionicPlatform.ready(function() {
$cordovaSplashscreen.hide();
Run Code Online (Sandbox Code Playgroud)
(不包括.run中的其他内容)
离子版 - 1.2.8
cordova版 - 4.0.0
以下是xcode中用于工作iOS模拟的输出:
2014-11-10 17:09:15.150 endevr[94986:627339] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/drlightx3/Library/Developer/CoreSimulator/Devices/7D2185B9-9897-41E8-B005-B0D35284F661/data/Containers/Data/Application/027864C5-CC64-4859-BCEA-48D8DD4B90A2/Library/Cookies/Cookies.binarycookies
2014-11-10 17:09:15.291 endevr[94986:627339] Apache Cordova native platform version 3.6.3 is starting.
2014-11-10 17:09:15.292 endevr[94986:627339] Multi-tasking -> Device: YES, App: YES
2014-11-10 17:09:15.304 endevr[94986:627339] Unlimited access to network resources
2014-11-10 17:09:15.631 endevr[94986:627339] [CDVTimer][splashscreen] 48.977017ms
2014-11-10 17:09:15.631 endevr[94986:627339] [CDVTimer][TotalPluginStartup] 49.114048ms
2014-11-10 …Run Code Online (Sandbox Code Playgroud)