Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS EventKit: Display calendar in a different section other than iCloud / On My iPhone

Tags:

xcode

ios

ekevent

Is there a way to create a new calendar in my app that will show up in a different section of the native iOS Calendar app?

http://i.imgur.com/HQBi1Gi.png

From the pic above, Facebook has its own section for its calendars, so does Hotmail, Gmail, etc.

At the moment, I am able to create calendars with sources EKSourceTypeLocal or EKSourceTypeCalDAV, which will display under the group "On My iPhone" or "iCloud" respectively. Can I create a new section here? It doesn't seem like you're able to create a new source, so I have no idea how to approach this.

like image 383
Chun Avatar asked Apr 07 '13 20:04

Chun


1 Answers

Hotmail and Facebook and Gmail have sections because the user is subscribing to calendars from those services. To appear as a section, you'd need to run a CalDAV server that the user can subscribe to (in the Calendar application).

like image 80
matt Avatar answered Nov 10 '22 04:11

matt