Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

tableView:viewForHeaderInSection: default value?

I want to have a single custom section header, with the rest being the default header.

- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
     return ???;
}

What do I return to just give the default header view?

like image 446
Zac Altman Avatar asked Jan 24 '23 03:01

Zac Altman


1 Answers

The default header view is nil, for no header at all!

like image 64
notnoop Avatar answered Feb 04 '23 09:02

notnoop



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!