Edited answer:
Can you do this. Initialize 2 buttons or 2 views in.
In cellForRowIndexPath:
UIView * superView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 45)]; [superView addSubview:view1]; [superView addSubview:view2];
Original answer:
You have to use
- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section
I think the exact answer you are looking for is available here !!
source share