UITableView embedded in other view has wrong position of section header

后端 未结 2 1135
清歌不尽
清歌不尽 2021-01-03 00:16

I have a UITableView embedded in another view like so:

\"storbyboard

2条回答
  •  自闭症患者
    2021-01-03 00:40

    This can be fixed by unchecking the "Under Top Bars" box in IB for the controller that has the container view in it, not the table view controller. It doesn't seem correct that you should have to do this, since, you would think that having the main view (in the container controller) extend under the navigation bar wouldn't make the embedded table view behave the way it does.

提交回复
热议问题