KDCalender to show the selected date background color.I had give in calender style but not came iOS swift
Problem:
I'm using kdcalender to my app to display calender.I had set the style that one background color for the selected date.But that color not shown in the selected color.How to solve that?
Solution:
You have to change the pod file as like below.Must have to add the lines that are selected in the screen
The lines are as follows in calenderview+eventdatasource file.Unlock the pod file and update that.
dayCell.isSelected = selectedIndexPaths.contains(
if dayCell.isSelected {
collectionView.selectItem(at: indexPath, animated: true, scrollPosition: .centeredHorizontally)
}
Comments
Post a Comment