Instance Property

relativeOffset

The offset from the start of an event, at which the alarm fires.

Declaration

var relativeOffset: TimeInterval { get set }

Discussion

If you set this value for an absolute alarm, it loses its absolute date and becomes a relative offset alarm.

See Also

Accessing Alarm Dates

var absoluteDate: Date?

The absolute date for the alarm.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software