[英]Phonegap/Cordova 3.1 Resetting plugins due to page load
我有一個iOS Phonegap / Cordova 3.1 hello world應用程序的全新版本,我在xcode輸出中收到以下消息:
2013-10-30 08:20:17.768 HelloWorld[51492:c07] Multi-tasking -> Device: YES, App: YES
**2013-10-30 08:20:17.914 HelloWorld[51492:c07] Resetting plugins due to page load.**
2013-10-30 08:20:18.394 HelloWorld[51492:c07] Finished load of:
Resetting plugins due to page load
消息導致Resetting plugins due to page load
什么? 我構建它時應用程序似乎運行正常。
它似乎是與jQuery Mobile和類似庫的已知沖突。 檢查另一篇文章,找到一個非常簡單的補救措施。
編輯:
謝謝,我的立場得到了糾正,@ bart_88。 我查看了Cordova項目代碼,看到以下內容:
- (void)webViewDidStartLoad:(UIWebView*)theWebView {
NSLog(@"Resetting plugins due to page load.");
[_commandQueue resetRequestId];
[[NSNotificationCenter defaultCenter] postNotification:[NSNotification notificationWithName:CDVPluginResetNotification object:self.webView]];
}
看來這個代碼無論如何都會被命中(CDVViewController),所以你看到的消息只是一個可以忽略的新NSLog條目。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.