Open ninobc opened 6 years ago
That might be happening because of below lines that are there in the programming.
let dates = [
self.gregorian.date(byAdding: .day, value: -1, to: Date()),
Date(),
self.gregorian.date(byAdding: .day, value: 1, to: Date())
]
What developer is doing, by default selecting yesterday today tomorrow date when you open calendar.
Hi everyone.
First, thank you for this incredible library! However, I am experiencing a very weird issue ONLY in April. So what I am trying to accomplish is to select a certain number of dates AFTER the date selected by the user. Below is my didSelectDate code that I am using... and if you try it out yourselves, you can see that it is completely functional and works as intended. However, when selecting a date in April, this is where things start to get messy. If you even try to programmatically select a date in April, it will only set the PREVIOUS date to white text color and won't configure the cell properly (won't be highlighted as selected).
Any help would be much appreciated!
Screenshots: