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 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)
}
}
}`
The text was updated successfully, but these errors were encountered:
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()])
The text was updated successfully, but these errors were encountered: