Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2290
clicking individual daily appointments in month vew
posted

Hi,

Is there a way to have double tap gesture to go from month view to a day view and single tap gesture to notify which appointment was clicked so some custom popover can be displayed (just like apple calendar)

If not supported, can it be done technically by navigating to a correct sub view and changing behavior?

Can custom month dayview be used  to do that?

Thank you

Mark

Parents
  • 40030
    Offline posted

    Hi Mark, 

    Since not all the appointments will display if there isn't enough room, we don't have interaction logic. 

    However, you could potentially add your own interactive appointments for a month view day. 

    We added 2 new delegate methods in 15.1 that provide hooks into whats display on a MonthView's day:

    -(UIView*)calView:(IGCalendarView*)calView monthViewDayCustomViewFor:(NSInteger)month day:(NSInteger)day year:(NSInteger)year;

    and

    -(void)calView:(IGCalendarView*)calView appointments:(NSArray*)appts loadedForMonthViewDayCustomView:(UIView*)customView;

    The first asks you to provide a view that will be displayed in a particular day. And the second, notifies you of what appointments are available for that day, and hands you the view that you provided in the first method. 

    In C# the delegate methods are: 

    CreateMonthViewDayCustomView

    and

    AppointmentsLoadedForMonthViewDayCustomView

    Hope this helps. 

    -SteveZ

Reply Children