I work with iOS calendars, I wonder how I can determine the source of calendars. I mean to find a calendar from Facebook, Google, etc.
I use a calendar type, but it's not detailed enough
if (type == EKCalendarTypeLocal) { typeString = @"local"; } else if (type == EKCalendarTypeCalDAV) { typeString = @"calDAV"; } else if (type == EKCalendarTypeExchange) { typeString = @"exchange"; } else if (type == EKSourceTypeMobileMe) { typeString = @"MobileMe"; } else if (type == EKCalendarTypeSubscription) { typeString = @"subscription"; } else if (type == EKCalendarTypeBirthday) { typeString = @"birthday";
To add another date, I use
for (EKCalendar *thisCalendar in calendars) { EKCalendarType type = thisCalendar.type; EKSource* source = thisCalendar.source; DLog(@"title %@", source.title); DLog(@"Src Id %@ and title %@", source.sourceIdentifier, thisCalendar.title); DLog(@"Id %@", thisCalendar.calendarIdentifier);
But this is not as descriptive as in any application based on the iOS calendar any idea?
source share