nicklockwood / FXForms

[DEPRECATED]
Other
2.93k stars 339 forks source link

Remove first section header #54

Open alextor opened 10 years ago

alextor commented 10 years ago

Hello, How do I remove first section header (set its height to 0)? Do I need to subclass entire formcontroller?

Thank you.

kioqq commented 10 years ago

Hello , i use way from #60 and this code. It's hack, but this works good >:)

- (CGFloat) tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
{
    if (section == 0)
        return 0.000000000000000001f;
    return 32.0f;
}
imaks commented 9 years ago

@alextor Did that solution help? If so, this issue may be closed.

P.S. CGFLOAT_MIN instead of 0.000000000000000001f also works fine here.