I am using this library from the beginning and now I came across the issue that it doesn't scroll to today's date. It just stops to previous month's date. Anyone have this issue? Following code I have used.
self.dayCollectionView.visibleDates { (info) in
if let data = info.monthDates.first {
self.dayCollectionView.scrollToItem(at: data.indexPath, at: .left, animated: true)
}
}
}`
I am using this library from the beginning and now I came across the issue that it doesn't scroll to today's date. It just stops to previous month's date. Anyone have this issue? Following code I have used.
`func setupJTCalendar() { self.dayCollectionView.cellSize = 60.0 self.dayCollectionView.minimumLineSpacing = 0 self.dayCollectionView.minimumInteritemSpacing = 0 self.dayCollectionView.scrollToDate(Date()) self.dayCollectionView.selectDates([Date()])