iOS - Custom table cell not full width of UITableView

后端 未结 4 1798
误落风尘
误落风尘 2020-12-10 15:32

I may be going about this wrong. So I have created a UITableView that essentially has a auto-layout trailing space set to the main view. I am creating a custom cell for this

4条回答
  •  粉色の甜心
    2020-12-10 16:25

    For those that are still having a similar issue and the above fixes are not working, make sure to set Estimated Size of the cell to None. This can be done in the Storyboard Size Inspector. Was stuck for much to long on this one!

提交回复
热议问题