I used a MBCalendarKit. This is an event shown on tableView method - (void)calendarView:(CKCalendarView *)CalendarView didSelectEvent:(CKCalendarEvent *)event
. This method works same as - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
. I want to call the method didSelectEvent
on tableView cell click event. How to move to another view controller on cell click ?and pass cell array data. How is it possible? Please help. Thank You
Method
- (void)calendarView:(CKCalendarView *)CalendarView didSelectEvent:(CKCalendarEvent *)event
{
// A row is selected in the events table. (Use to push a detail view or whatever.)
CalendarViewController*destVC = [[CalendarViewController alloc] init];
destVC.pure=arr;
[self presentViewController:destVC animated:YES completion:nil];
}