如何使用混合技术访问本机日历

How to access native calendar by using hybrid technology

如何使用混合技术访问本机日历?, 例如向日历添加事件?

您可以编写一个 Cordova 插件来调用您必须实现的自定义本机 could,以便将事件添加到 OS 提供的默认日历应用程序。

要在 MobileFirst Platform 中实施 Cordova 插件,请参阅此处:https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/adding-native-functionality/

要以编程方式添加事件,请参见此处的示例:Programmatically add custom event in the iPhone Calendar