UITableview not visible the last cell when scroll down

后端 未结 5 958
情话喂你
情话喂你 2020-12-08 08:39

I\'m very new to iOS. I have a UITableView that filled with many custom cells, but the bottom cell is is not visible properly when scroll down.my Y value of the UITableView

5条回答
  •  攒了一身酷
    2020-12-08 09:18

    Use -

      tableView.contentInset = UIEdgeInsetsMake(0, 0, 120, 0); //values
    

    passed are - top, left, bottom, right

    Pass bottom offset as per your needs.

提交回复
热议问题