Multiple Day Events

Thread is closed for posting
2 posts, 0 answers
  1. Jacob
    Jacob avatar
    3 posts
    Member since:
    Mar 2015

    Posted 04 Mar 2015 Link to this post

    I see that in the iPad theme that you can make you events span across the calendar. Is there any way to customize the look of that bar that spans across? Position, Size, rounded corner?
  2. Jack
    Jack avatar
    2333 posts

    Posted 04 Mar 2015 Link to this post

    Hi Jacob,

    Thank you for contacting us.

    Yes, there is a way. You should use a custom day cell and override its drawEvents:rect: method. Here is the code:
    @interface MyCell : TKCalendarDayCell
    @implementation MyCell
    - (void)drawEvents:(CGContextRef)context rect:(CGRect)rect
        // place custom event drawing code here

    You should adopt TKCalendarDelegate in order to replace the default cell:
    - (TKCalendarCell *)calendar:(TKCalendar *)calendar viewForCellOfKind:(TKCalendarCellType)cellType
        if (cellType == TKCalendarCellTypeDay) {
            return [MyCell new];
        return nil;

    Should you have further questions, feel free to ask.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top