1

In my tableView, I am using automatic row & section footer height. It looks good on iOS 10, but on iOS 11 the section footer overlaps the cell on landscape.

Is there some new iOS 11 property that I'm not setting that's causing this?

This is what it looks like running on iOS 10:

enter image description here

This is what it looks like running on iOS 11:

enter image description here

I have xib with a tableView constrained to the edges of the view. I'm setting row/footer/header height in IB:

enter image description here

nambatee
  • 1,478
  • 16
  • 27

1 Answers1

3

Do you set your custom heights for header and footer?

Your table view delegate should implement this methods:

- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section

- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section

which should return appropriate values.

If you return smaller values then your header and footer views have, then they may overlap.

Mr.Javed Multani
  • 12,549
  • 4
  • 53
  • 52