简体   繁体   English

科尔多瓦平台iOS 4.0.1白屏

[英]Cordova Platform iOS 4.0.1 White Screen

I am using Cordova 6.0.0 and I upgrade to iOS platform 4.0.1 我正在使用Cordova 6.0.0,并且升级到iOS平台4.0.1

Whenever I try to run the ios app and according to the Xcode dev console it goes through all the stages of loading, then stops at 'Resetting plugins due to page load." The device it's just an unresponsive white screen. I've put in debug statements, and I know for a fact that deviceready is firing correctly. 每当我尝试运行ios应用程序时,根据Xcode开发者控制台,它都会经历所有加载阶段,然后停止在“由于页面加载而重置插件”。该设备只是一个无响应的白屏。调试语句,并且我知道deviceready正在正确触发。

Here is the log from Xcode 7.2 这是来自Xcode 7.2的日志

2016-03-04 12:49:19.499 MyApp[3858:1510716] Apache Cordova native platform version 4.0.1 is starting. 2016-03-04 12:49:19.499 MyApp [3858:1510716] Apache Cordova本机平台版本4.0.1已启动。

2016-03-04 12:49:19.501 MyApp[3858:1510716] Multi-tasking -> Device: YES, App: YES 2016-03-04 12:49:19.501 MyApp [3858:1510716]多任务->设备:是,应用程序:是

2016-03-04 12:49:19.689 MyApp[3858:1510716] Using UIWebView 2016-03-04 12:49:19.689 MyApp [3858:1510716]使用UIWebView

2016-03-04 12:49:19.692 MyApp[3858:1510716] [CDVTimer][handleopenurl] 0.120997ms 2016-03-04 12:49:19.692 MyApp [3858:1510716] [CDVTimer] [handleopenurl] 0.120997ms

2016-03-04 12:49:19.698 MyApp[3858:1510716] [CDVTimer][intentandnavigationfilter] 4.896998ms 2016-03-04 12:49:19.698 MyApp [3858:1510716] [CDVTimer] [intentandnavigationfilter] 4.896998ms

2016-03-04 12:49:19.698 MyApp[3858:1510716] [CDVTimer][gesturehandler] 0.104964ms 2016-03-04 12:49:19.698 MyApp [3858:1510716] [CDVTimer] [gesturehandler] 0.104964ms

2016-03-04 12:49:19.723 MyApp[3858:1510716] [CDVTimer][localstorage] 25.017977ms 2016-03-04 12:49:19.723 MyApp [3858:1510716] [CDVTimer] [localstorage] 25.017977ms

2016-03-04 12:49:19.723 MyApp[3858:1510716] [CDVTimer][TotalPluginStartup] 30.952990ms 2016-03-04 12:49:19.723 MyApp [3858:1510716] [CDVTimer] [TotalPluginStartup] 30.952990ms

2016-03-04 12:49:20.235 MyApp[3858:1510716] Resetting plugins due to page load. 2016-03-04 12:49:20.235 MyApp [3858:1510716]由于页面加载,正在重置插件。

2016-03-04 12:49:51.516 MyApp[3858:1510716] Received memory warning. 2016-03-04 12:49:51.516 MyApp [3858:1510716]收到内存警告。

Any help please? 有什么帮助吗?

Switch off the device and back on again. 关闭设备,然后再次打开。 Then run via Xcode again, and see if the message is gone. 然后再次通过Xcode运行,看看消息是否消失了。 If it's gone, then you or the Cordova libs probably locked up some memory. 如果它消失了,那么您或Cordova库可能会锁定一些内存。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM