Can we set a UIViewControllers view as a section Headerview in a UITableViewController?
-
21-09-2022 - |
Pergunta
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;
}
Nenhuma solução correta
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow