multiple days event

4 posts, 0 answers
  1. massimiliano
    massimiliano avatar
    3 posts
    Member since:
    Oct 2015

    Posted 30 Nov 2015 Link to this post

    Hello,

    I'm using an EKCalendar with TKCalendarEventKitDataSource, implementing TKCalendarEventKitDataSourceDelegate.

    The calendar does not show events that span over multiple days, it shows only the starting day.

    I read on the forum that I should get the range from eventsFromDate, but this method gets called only for classes that implement TKCalendarDataSource, not for EventKit data sources. Right?

  2. Adrian
    Admin
    Adrian avatar
    167 posts

    Posted 02 Dec 2015 Link to this post

    Hi, Massimiliano,

    Thank you for contacting us.

    You are correct, the method calendar:eventsFromDate:toDate:withCallback: asks a class that implements TKCalendarDataSource  for an array of objects adopting the TKCalendarEventProtocol with a callback. If you need to get the events for a specific date you can use TKCalendar's method eventsForDate: passing it the date for which you need to get events. Please consider the code below:
    [self.calendarView eventsForDate:date];

    I hope this helps. Should you have further questions, do not hesitate to contact us.

    Regards,
    Adrian
    Telerik
    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? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
  4. massimiliano
    massimiliano avatar
    3 posts
    Member since:
    Oct 2015

    Posted 03 Dec 2015 Link to this post

    Ok, I know how to get events for specific dates, but what I need is to show the colored circle on the calendar cells for multiple days event. 

    At the moment I get the circle on the first day only.

     How can I do that?

     Thanks.

  5. Adrian
    Admin
    Adrian avatar
    167 posts

    Posted 07 Dec 2015 Link to this post

    Hello, Massimiliano,

    Currently we have an issue with displaying multiple days events like described using TKCalendarEventKitDataSource. It will be addressed in one of our future releases. I logged the issue in our feedback portal where you can follow its status. I also updated you Telerik points accordingly.

    If you need further assistance I will be glad to help.

    Regards,
    Adrian
    Telerik
    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? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
DevCraft banner