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

前端 未结 9 1040
庸人自扰
庸人自扰 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 19:47

    You need to either adjust the height of you UITableView or you can try to put [tableView reloadData] inside viewDidAppear method (it doesn't seem to work if put inside viewWillAppear or viewDidLoad though).

    The former works for me in most cases.

提交回复
热议问题