Stick UITableView header view to top when creating header in storyboard

前端 未结 2 1200
野性不改
野性不改 2020-12-11 07:08

I have created a table view header using the answer here.

My problem is that when creating the header this way, it does not \"stick\" to the top of my UITableView wh

2条回答
  •  醉梦人生
    2020-12-11 07:28

    Just drag tableview cell first, then your view for the header above. And afterward, remove the unneeded cell. The header will remember its position.

提交回复
热议问题