I'm using tableview's headerView feature. However, whenever I do assign a view. The actual tableview is pushed way down, and there appears to be a huge margin below the view and the tableview. Is this a common feature, because it's happened everytime I use this feature in my project. If so, does anyone know how to resolve it?
I also met this issue. The margin exists between the headerview and the table data row. But in my case, the margin is not very huge. It still affect the appearance.
For some reason, whatever you assign as a headerView or footerView has to have a defined height. As Leoncin Lee says, 'auto' doesn't seem to have the desired effect.