RDVCalendarView
RDVCalendarView copied to clipboard
setSeparatorStyle to Both not adjusting to cell height
RDVCalendarView* calendarView = [[RDVCalendarView alloc] initWithFrame:frame];
[calendarView setAutoresizingMask:UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight];
[calendarView setSeparatorStyle:RDVCalendarViewDayCellSeparatorTypeBoth];
[calendarView setDelegate:self];
[calendarView setBackgroundColor:[UIColor yellowColor]];
[calendarView setWeekDayHeight:0];
-(CGFloat)heightForDayCellInCalendarView:(RDVCalendarView *)calendarView
{
return 50;
}
BTW the view is inside a UITableViewCell
heightForDayCellInCalendarView only changes the height of the content inside the cell but the table view row height remain the same. This function should change the height of rows as well.