EventKit - Display calendar events & reminders

Hello All,

It appears I've hit a dead-end in developing a "scheduling" app in terms of utilizing the Date Picker control as a calendar that actually functions like the apple calendar.

It also appears the EventViewController will only display one event versus an array of events???

So in order to list events/reminders in an app, we have to build this out in a table view or stack view???

I'm finding it hard to believe we can't simulate the current calendar display that when you click on a day, it will display that days events/reminders and have the 7 day view on top of it, etc...

Also, I did look at the calendar kit in CocoaPods. I was hoping to build my own using EventKit though.

Lastly, I was going to post a screenshot of this calendar/schedule image from an iPhone 11 simulator but it looks like we can't post screen shots in here???

EKEventViewController displays the details of a single event. If you wanted to build something like the list of events in the Calendar app list view, you could fetch the events from EventKit and then use those to populate a table or collection view.

You can use Foundation's Date, Calendar, and DateFormatter classes to generate a list of days in the current date to mimic the top date scrubber from the Calendar app.

I solved it with the EKEventViewController and the .allowsCalendarpreview and .allowsediting settings and the didCompleteWith delegate to do some final logic after the user had added the event...

EventKit - Display calendar events & reminders
 
 
Q