UITableView : crash when adding a section footer view in empty section

后端 未结 5 616
滥情空心
滥情空心 2020-12-10 13:42

This is the first time I ask a question here, but I have to say this site has been a tremendous help for me over the last couple months (iphone-dev-wise), and I thank you fo

5条回答
  •  长情又很酷
    2020-12-10 14:39

    For those of you who still need the section footer, you can also try changing the TableView style to UITableViewStyleGrouped. This seems to bypass the issue. In order to get the same visual appearance, you just have to set all your other footers and headers to CGFLOAT_MIN.

提交回复
热议问题