UILocalNotification needs a repeatMultiplier property

Originator:mail.junjie
Number:rdar://8561927 Date Originated:18-Oct-2010 07:33 PM
Status:Duplicate/8269503 Resolved:
Product:iPhone SDK Product Version:4.2
Classification:Enhancement Reproducible:N/A
 
Summary:
With iOS4, developers can schedule a recurring UILocalNotification through its property repeatInterval.

There is however no way to schedule a local notification to repeat at intervals such as 10 minutes, or 2 hours.

The repeatInterval property currently takes an NSCalendarUnit. This means that the three shortest repeating intervals possible are: 1 second, 1 minute followed by 1 hour.

Repeating by the second has limited use, while the gap between repeating by the minute and by the hour is too huge.

Steps to Reproduce:
N/A

Expected Results:
N/A

Actual Results:
N/A

Regression:
N/A

Notes:
To provide backwards compatibility while introducing the ability to schedule local notifications to repeat at finer intervals, a new NSUInteger @property repeatMultiplier could be introduced.

When repeatMultiplier is more than 0 and repeatInterval is assigned an NSCalendarUnit, the local notification will repeat at the interval specified in repeatInterval multiplied by repeatMultiplier.

Thus, a notification can be set to recur at 10-minute interval by setting repeatInterval to NSMinuteCalendarUnit and repeatMultiplier to 10.

A notification can be set to recur every other day using by setting repeatInterval to NSDayCalendarUnit and repeatMultiplier to 2.

Comments

Yes

I cant schedule local notification for time interval say 8 min , i need custom repeat intervals like after every x minutes so i can schedule my local notification. because same in android did it well but i cant in ios .

+1 Also faced with repeat issue.

By Ivanov.Vitalii at June 9, 2014, 8:10 p.m. (reply...)

This is desperately needed for me as well.

+1

Amazing ..... I lose a lot of time to invent an alternative, much less reliable!

+1

Improvement would be good.

Yep!

Not sure if me being the fourth commenter of this thread will help, but this is very much needed and allows for so much more flexibility... which is what I thought Apple is all about.

Absolutely

This is desperately needed.

By indigo.homme at July 11, 2011, 1:18 p.m. (reply...)

YES!

We need custom repeat intervals like every x minutes, days and so on...till ending date.

By stoeckelmann at March 6, 2011, 7:33 p.m. (reply...)

YES!

This is badly needed. If my garbage LG cellphone had a variety repeat intervals to choose from for applications such as reminders, Apple products have no excuse!


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!