Programmatically remove the header of UITableView and automatically resizes the content to fill in the removed area

前端 未结 4 1166
渐次进展
渐次进展 2020-12-17 10:32

I have added a UIButton in the header section of the UITableView via the interface builder and would like to remove the access to the button in cer

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-17 10:38

    Check if your tableView has a grouped style, in that case a white space appears at the top of the table. Change the style to plain and that blank space will be removed.

提交回复
热议问题