Contents

updateRecurrences(_:completionHandler:)

Updates the days of the week the trigger can repeat.

Declaration

func updateRecurrences(_ recurrences: [DateComponents]?, completionHandler completion: @escaping  @Sendable ((any Error)?) -> Void)
func updateRecurrences(_ recurrences: [DateComponents]?) async throws

Parameters

  • recurrences:

    An array of Datecomponents that represent the days of the week that the event trigger can repeat. Only respects the Weekday property of Datecomponents.

  • completion:

    A block that executes after processing the request.

    The block takes the following parameter:

    error

    If the request was successful, the value of error is nil; otherwise, the value provides more information about the request status.

See Also

Controlling recurrence