Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I programmatically access reminders?

Tags:

iphone

ios5

I may be wrong, but it looks like there is no public API to create/access programmatically reminders in iOS 5. However, there is an app for iPhone that can access them: see this video.

The question is: how they do this? Is there any undocumented way to access reminders ? I also looked at the relevant documentation for iCloud, but did not find anything related.

like image 545
Massimo Cafaro Avatar asked Dec 04 '11 13:12

Massimo Cafaro


People also ask

Can you sync Microsoft to do with Reminders?

Open your iPhone's settings, tap Reminders > Default List, and select the desired list. Once you say "Hey Siri, remind me to...", it will be synced with Microsoft To Do.


2 Answers

For iOS 6.0 there is Event Kit framework grants access to users’ Reminders.app information.

Refer ReadingAndWritingReminders link. Hope helpful

like image 124
Paresh Navadiya Avatar answered Oct 19 '22 15:10

Paresh Navadiya


Get reminder list

EKEventStore *store = [[EKEventStore alloc] init];
[store requestAccessToEntityType:EKEntityTypeReminder completion:^(BOOL granted, NSError *error) {
    NSLog(@"acces to §Reminder granded %i ",granted);
}];
NSPredicate *predicate = [store predicateForRemindersInCalendars:nil];

[store fetchRemindersMatchingPredicate:predicate completion:^(NSArray *reminders) {
    for (EKReminder *reminder in reminders) {
            NSLog(@"reminder %@",reminder);

        }
}];
like image 31
Alex Serj Avatar answered Oct 19 '22 15:10

Alex Serj