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

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

  •  21-09-2022
  •  | 
  •  

Domanda

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;
}

Nessuna soluzione corretta

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top