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

后端 未结 10 1432
天涯浪人
天涯浪人 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-02 14:54

    Go to Main.storyboard > select the UITableViewCell > Attributes Inspector. Change Separator dropdown list from Default Insets to Custom Insets. Change the left inset from 15 to 0

    enter image description here

提交回复
热议问题