iOS PhoneGap中的通知 [英] Notification in PhoneGap for iOS
本文介绍了iOS PhoneGap中的通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在iOS的 PhoneGap 2.2.0中使用通知。
I need to use on notification in PhoneGap 2.2.0 for iOS.
我添加到PhoneGap.plist - > plugin - >
I add to PhoneGap.plist -> plugin ->com.phonegap.notification (also try just notification) and it not work.
这里是PhoneGap文件:
PhoneGap通知
Here PhoneGap document: PhoneGap Notification
iOS无法识别通知
我在通知中使用:
navigator.notification.confirm(
'EXIT?', // message
onConfirm, // callback to invoke with index of button pressed
'Good-Bay', // title
'Cancle,OK' // buttonLabels
);
我错过了什么?
推荐答案
我不知道版本2.2的问题,
I have no idea what the problem on version 2.2,
我下载了最新版本的PhoneGap(2.3.0),它工作。 。
I downloaded the latest version of PhoneGap (2.3.0) and it worked ..
这篇关于iOS PhoneGap中的通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文