Can we set a UIViewControllers view as a section Headerview in a UITableViewController?
-
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;
}
올바른 솔루션이 없습니다
제휴하지 않습니다 StackOverflow