Add button on top of UITableViewController (Swift)

前端 未结 8 1079
夕颜
夕颜 2021-02-07 15:34

I am trying to add a button ontop of a uitableview controller table view. The view controller has a navigation controller and static cells, which is why it is a uitableviewcontr

8条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-07 16:05

    Here is a UIViewController, with a UITableView added as a subview. At the top right, you can see a dropdown that says Content: Dynamic Prototypes. Change it to Static Cells. enter image description here

提交回复
热议问题