问题
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