Opening my app from a reminder on iOS using a C lens

I created an application that creates a reminder, adds a structured location alarm, and sets the URL for my application. My intention is that when the user sees this reminder on his phone and he clicks on it, he should open my application. But this does not seem to work.

It works that my application really creates a reminder, it has geophoning, just when the user clicks on the reminder, they are transferred to the iOS calendar, and not to my application.

Here is the code I used to set the reminder URL:

NSString* url = [NSString stringWithFormat: @"HealthTracker://"]; self.reminder.URL = [NSURL URLWithString: url]; 

I also updated the URL schemes in the pinfo.list file to contain the name of the application.

Screenshot from pinfo.list

Is there anything else I should do?

I am testing iOS 9.1 and using my iPhone 6 to verify this.

+5
source share
1 answer

Unlike calendar entries, reminders do not support URLs. Launch the Reminders app and there’s no way to add a URL.

EKReminder has a URL property (inherited from CKCalendarItem ), but the Reminders application itself does not support the URL.

I ran into the same problem and ended up creating a Calendar event so the user can open my application from the event.

I sent Apple a promotion request, requiring the reminder app to support URLs. Perhaps in iOS 10.

+5
source

All Articles