I'm trying to create a calendar
that shows up in Apple's calendar
(From my application), but I want it to be read only (only editable from my application, not two way sync to Apple's calendar
system) -- I'd hoped using EKSourceTypeSubscribed
would work for this, and used this code:
EKSource *theSource = nil;
for (EKSource *source in store.sources) {
if (source.sourceType == EKSourceTypeSubscribed) {
theSource = source;
break;
}
}
To try and retrieve the related EKSource
(as there doesn't seem to be a way to create new sources. However, unless the user already has some calendar they are subscribed to, it seems that this source type doesn't exist.
Any ideas?