1

カレンダー プラグインを ios と Phonegap 3 で動作させようとしています: DrDawnamight は Phonegap 3 と互換性があるようにしました: Phonegap 3.0.0 Calendar Plugin

すべて問題なく xCode 5 でコンパイルされますが、カレンダー イベントの作成に問題があります... DrDawnamight が投稿したすべてのコードを使用しましたが、コンソールに次のように表示されます。

2013-10-16 15:59:08.675 Talon[589:60b] *** Assertion failure in -[UIApplication runModal:](), /SourceCache/UIKit/UIKit-2903.2/UIApplication.m:9467
2013-10-16 15:59:08.676 Talon[589:60b] *** WebKit discarded an uncaught exception in the webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame: delegate: <NSInternalInconsistencyException> The view passed in does not have a window.

そして私はこれをアラートで受け取ります:

Index.html
createCalEvent: TypeError: 'undefined' is not an onject (evaluating 'window.plugins.calendarPlugin.createEvent')

私が何を台無しにしたのでしょうか?

4

2 に答える 2

0

PhoneGap 3.x (PhoneGap Build でも) でこれを試すことができます: https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin

于 2013-10-30T08:57:28.767 に答える