Create a calendar in iOS [closed]

淺唱寂寞╮ 提交于 2019-12-06 14:13:21

问题


I have an app which I need to create a calendar to save events that are created by said application. The calendar should be used only inside the app but could have the option to sync to the default calendar. Searched tutorials but none explain this process in a very good way, so if someone could explain this process and the code or direct to a good tutorial would be great. Thanks


回答1:


You could try Eventkit framework using that you could add reminders,events,alarms.

1)It has no number of notification limitation like UILocalNotification.

2)With event kit you could add both time based as well location based events.

3)You don't need to worry about privacy too.

Although both UILocalNotification and EventKit is powerful in its own right..

Note that:ios 6 or above for EventKit framework

It's upto you to choose which one depending upon your needs.

The below links will give you good headstart

Resource 1

Resource 2.

The image below will give you a nice peek of what evenkit is.

Use eventkit if it suits your need.



来源:https://stackoverflow.com/questions/16404436/create-a-calendar-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!