Contents

repeatInterval

The calendar interval at which to reschedule the notification.

Declaration

var repeatInterval: NSCalendar.Unit { get set }

Discussion

If you assign a calendar unit such as weekly (weekOfYear) or yearly (year), the system reschedules the notification for delivery at the specified interval. Note that intervals of less than one minute are not supported. The default value is 0, which means that the system fires the notification once and then discards it.

See Also

Scheduling a local notification