You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to implement a weekly notification function with this library, but the Calendar Trigger does not have a day of the week property, so I am considering how to achieve this.
In the near future, I am planning to implement a pseudo-weekly event firing by directly specifying the date and time on the calendar and implementing it with a Time IntervalTrigger, but looking at Apple's documentation, it seems that there is support for this on the OS side, so I wrote this issue as I thought it would be useful if I could do this.
detail
iOS's NSDateComponents implements the weekday property, which allows you to implement weekly notifications.
If you pass it to UNCalendarNotificationTrigger, you can easily implement weekly notifications, which is very helpful...
about
Hello everyone
I am trying to implement a weekly notification function with this library, but the Calendar Trigger does not have a day of the week property, so I am considering how to achieve this.
In the near future, I am planning to implement a pseudo-weekly event firing by directly specifying the date and time on the calendar and implementing it with a Time IntervalTrigger, but looking at Apple's documentation, it seems that there is support for this on the OS side, so I wrote this issue as I thought it would be useful if I could do this.
detail
iOS's NSDateComponents implements the weekday property, which allows you to implement weekly notifications.
If you pass it to UNCalendarNotificationTrigger, you can easily implement weekly notifications, which is very helpful...
A randomly written snippet..
Reference Web page
https://developer.apple.com/documentation/foundation/nsdatecomponents/1410442-weekday?language=objc
https://qiita.com/cloudsnow/items/17eb3b7fa29b67373c73
The text was updated successfully, but these errors were encountered: