Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9097983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T00:15:15+00:00 2026-06-17T00:15:15+00:00

I want to create a reminder from my app, so I’ve created a reminder

  • 0

I want to create a reminder from my app, so I’ve created a reminder (EKReminder) and set up an alarm:

NSTimeInterval timeInterval = 100000;
NSDate *alarmDate = [NSDate dateWithTimeIntervalSinceNow:timeInterval];
EKAlarm *alarm = [EKAlarm alarmWithAbsoluteDate:alarmDate];
[reminder setAlarms:@[alarm]];

but I see there is also a dueDateComponents property on EKReminder. What is the difference between setting an alarm and the dueDateComponents?

Also there there is a method to create an alarm: alarmWithRelativeOffset:(NSTimeInterval)offset but the docs say the offset argument can be negative, how is it possible to have an alarm in the past?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T00:15:17+00:00Added an answer on June 17, 2026 at 12:15 am

    a EKReminder item is kind of like a task on a todo list with an optional start date and due date, the dueDateComponents property allows you to specify when a task should be completed. It’ll allow you to show overdue items for example. This is informational and is separate from an alarm.

    Setting an alarm on a reminder will cause the Reminders app to notify the user when the alarm goes off.

    I guess this is slightly confusing because the Reminders app doesn’t appear to let you set a due date, only an alarm date. However on this blog post it shows how you used to be able to set a due date but no reminder date on icloud.com: http://blog.truthdialogue.com/2012/07/setting-due-dates-in-the-os-x-mountain-lion-reminders-app.html. It looks as if Apple have simplified the apps since the API was developed.

    The offset for alarmWithRelativeOffset: is from the start date/time of an event. So you can set an alarm to go off x minutes before an event for example.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a Silverlight app to extract and manipulate data from an
i want create multiple search where statement $where_search is a multiple condition from post
i want create a custom json data from the mssql 2008 results so that
In my web-application, i want to create a some-type of calendar plus reminder. For
I want to create an app that has a listbox on the left side
Actually i am get stuck in a big problem..I have created an app from
I want to create a reminder system for my android user. When the user
I am trying to create a weekly reminder in my app. For this I
i want to create reminder application...I am using Notification Manager... I am using this
I want to create a datatrigger that makes my page blink (from transparent to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.