The doc says: "There is an optional matchDateTimeComponents parameter that can be used to schedule a notification to appear on a daily or weekly basis...".
Just after that it provides an example of how to do a weekly notification using periodicallyShow(...)
The thing is, since matchDateTimeComponents is a parameter of the method "zonedSchedule(...)" and not of "periodicallyShow(...)", how does the whole "weekly" thing works?
zonedSchedule + matchDateTimeComponents: DateTimeComponents.dayOfWeekAndTime does not seem to work.
periodicallyShow does not allow to give a Date + Time (it apparently starts right after the method code is executed)
So how to perform a weekly notification, let's say every Tuesday at 10:00am?
The doc says: "There is an optional matchDateTimeComponents parameter that can be used to schedule a notification to appear on a daily or weekly basis...". Just after that it provides an example of how to do a weekly notification using periodicallyShow(...)
The thing is, since matchDateTimeComponents is a parameter of the method "zonedSchedule(...)" and not of "periodicallyShow(...)", how does the whole "weekly" thing works?
So how to perform a weekly notification, let's say every Tuesday at 10:00am?
Thanks!