You can use the cellForDate
method in TKCalendarMonthPresenter
for this purpose. Consider the sample below:
TKCalendarMonthPresenter *presenter = (TKCalendarMonthPresenter*)self.calendarView.presenter;
TKCalendarDayCell *cell = [presenter cellForDate:date];
Please note that like in UITableView
uses UI virtualization. This means that cells are reused when navigating to a different month for example. So, the best way to manipulate cell appearance in TKCalendar
is by implementing calendar:updateVisualsForCell:
method of TKCalendarDelegate
. You can find further information related with TKCalendar
customization in our online documentation
I hope this helps.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items