How do I adjust the left margin for prototype cells in a UITableView?

后端 未结 10 1409
天涯浪人
天涯浪人 2020-12-02 14:27

If I create a UITableViewController, for example via File → New Project... → iOS → Master-Detail Application in Xcode, a UITableView

10条回答
  •  攒了一身酷
    2020-12-02 14:52

    If you're using a xib for your cell, be sure that the "Relative to margin" is unchecked. You can check this via the inspector as shown in the following screenshot:

提交回复
热议问题