Can we set a UIViewControllers view as a section Headerview in a UITableViewController?

StackOverflow https://stackoverflow.com/questions/20798107

  •  21-09-2022
  •  | 
  •  

문제

Can we set a UIViewControllers view as a section Headerview in a UITableViewController.

Like,

- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
{
CellHeader *cellHeader  = [[CellHeader alloc] initWithNibName:@"CellHeader" bundle:[NSBundle mainBundle]];
return cellHeader.view;
}

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top