It seems like reminders which were created from stock Reminder app, when fetched by eventStore.fetchReminder()
, have their startDateComponents
equal nil.
I have these sample reminders below:
But when I fetched and tried debugging, startDateComponents was shown nil
I'm not sure what I did wrong during fetching reminders... Because it seems to work perfectly with reminders added from 3rd party apps... Please help!
Here are the comments summarized as a response:
For a reminder, the startDateComponents
property is not necessarily filled. At least, the iOS Reminders app doesn't do this.
The date that can be entered for a reminder ends up in the dueDateComponents
property.