Creates an alarm that fires at a specific time.
- Parameters:
- time: The time at which the alarm will alert.
- repeats: The cadence at which the alarm repeats, if any.
get · iOS 26.0+
time
TypeScript
get time(): Alarm_Schedule_Relative_Time
Swift declaration
var time: Alarm.Schedule.Relative.Time
The hour and minute at which the alarm alerts, relative to the
device's current timezone.
set · iOS 26.0+
time
TypeScript
set time(value: Alarm_Schedule_Relative_Time)
Swift declaration
var time: Alarm.Schedule.Relative.Time
The hour and minute at which the alarm alerts, relative to the
device's current timezone.
get · iOS 26.0+
repeats
TypeScript
get repeats(): Alarm_Schedule_Relative_Recurrence
Swift declaration
var repeats: Alarm.Schedule.Relative.Recurrence
The cadence at which the alarm repeats, if any.
set · iOS 26.0+
repeats
TypeScript
set repeats(value: Alarm_Schedule_Relative_Recurrence)