VACalendar
VACalendar copied to clipboard
How to delete all supplementaries?
Hi! When I receive a data I need to update calendar supplementaries, but if I received empty data and set supplementaries with the empty array, days not updated and dots are visible. How can I remove all dots if a data is empty? Thanks.
Here is a hotfix. Pass an empty arrary to ".bottomDots" property. Sample code is bellow.
calendarView.setSupplementaries([ (Date().addingTimeInterval(-(60 * 60 * 70)), [VADaySupplementary.bottomDots([])]) ])
I hope it helps you. Thanks.