My UITableView won't scroll down through the end of the data! Why?

前端 未结 9 1042
庸人自扰
庸人自扰 2021-01-01 19:07

Ok I don\'t know why this isn\'t working, but I have hooked up a tableView, with 19 items of text I\'d like to set to each cell.

The cells populate just fine, but wh

相关标签:
9条回答
  • 2021-01-01 20:05

    This helped me:

    [self.tableView setContentInset:UIEdgeInsetsMake(0,0,65,0)];
    
    0 讨论(0)
  • 2021-01-01 20:05

    @EmptyStack answer is right.That was a alternate but NOT the Solution.

    Even we can achieve the same in storyboard.

    Select tableView --> from the storyboard control click on 'add Missing constraints'. That will add the constraint to tableView and View.

    That helped me to resolve this issue. A screen_shot attached for reference.solution

    0 讨论(0)
  • 2021-01-01 20:07

    I disabled automatic estimate and it help me.

    0 讨论(0)
提交回复
热议问题