I tried to get calendar title from my iPhone (iOS 6.1), but nothing found inside. How to get calendar title from iOS 6.1? please help me.
Thanks in Adnvance
I tried this:
EKEventStore *store = [[EKEventStore alloc]init];
EKEvent *event = [EKEvent eventWithEventStore:store];
NSArray *list = [[NSArray alloc]init];
list = [[store calendarsForEntityType:EKEntityTypeEvent] copy];
// Calendars deprecate in iOs 6.1
// Retain deprecate, so use "copy"
NSLog(@"list: %d",[list count]);
for(EKCalendar *calendar in list)
{
NSLog(@"list: %@",calendar.title);
}