devinross/tapkulibrary — Issue #120: Is there a way to set background image for specific date cell in the Tapku Calendar module?
Author: suny05
Created: 2011-10-21 07:12:31+00:00
State: open

Hi,

I am just wondering that is there a way to set the background image for specific date cells in the Tapku calendar module? I am talking about setting the background image/colour on the fly, instead of modifying the image/colour statically from the source code.

For example: user specifies a day range (20 Oct 2011 - 25 Oct 2011), then these dates will be set to a specific background image.

I have found the method to set the background images for different cells (selected date, normal date, previous month date, etc),
- (void) drawRect:(CGRect)rect; from TKCalendarMonthView.m, about line 324

But I am not sure how this function has been called to draw the calendar.

Anyone has done this before?
Thank you for your help in advance.

William