【发布时间】:2018-11-18 14:48:52
【问题描述】:
在我的设备上启动我的应用程序后,它只会加载预加载器,然后只显示一个白屏。但这仅在 Android 上的 IOS 上发生,一切正常。
This is the log in Xcode:
2018-11-18 15:38:01.238190+0100 SmartEye[1537:205446] Apache Cordova native platform version 4.5.5 is starting.
2018-11-18 15:38:01.239075+0100 SmartEye[1537:205446] Multi-tasking -> Device: YES, App: YES
2018-11-18 15:38:01.249803+0100 SmartEye[1537:205446] CDVWKWebViewEngine: trying to inject XHR polyfill
2018-11-18 15:38:01.305007+0100 SmartEye[1537:205446] CDVWKWebViewEngine will reload WKWebView if required on resume
2018-11-18 15:38:01.305136+0100 SmartEye[1537:205446] Using Ionic WKWebView
2018-11-18 15:38:01.306279+0100 SmartEye[1537:205446] [CDVTimer][console] 0.131011ms
2018-11-18 15:38:01.306450+0100 SmartEye[1537:205446] [CDVTimer][handleopenurl] 0.087023ms
2018-11-18 15:38:01.308654+0100 SmartEye[1537:205446] [CDVTimer][intentandnavigationfilter] 2.170086ms
2018-11-18 15:38:01.308774+0100 SmartEye[1537:205446] [CDVTimer][gesturehandler] 0.075936ms
2018-11-18 15:38:01.308877+0100 SmartEye[1537:205446] CDVIonicKeyboard: resize mode 1
2018-11-18 15:38:01.309925+0100 SmartEye[1537:205446] [CDVTimer][keyboard] 1.048923ms
2018-11-18 15:38:01.315583+0100 SmartEye[1537:205446] [CDVTimer][splashscreen] 5.586028ms
2018-11-18 15:38:01.321968+0100 SmartEye[1537:205446] [CDVTimer][statusbar] 6.287098ms
2018-11-18 15:38:01.322043+0100 SmartEye[1537:205446] [CDVTimer][TotalPluginStartup] 16.053081ms
2018-11-18 15:38:01.778979+0100 SmartEye[1537:205446] Ionic Native: deviceready event fired after 77 ms
可能是因为我使用了 Cordova 的 ZeroConf 插件,但是在文档中写的是它与 IOS 兼容。
【问题讨论】:
标签: ios angular xcode cordova ionic-framework