Add padding to Section Header in UITableView

后端 未结 2 1251
心在旅途
心在旅途 2021-01-06 17:50

I created this section header title and unfortunately I don\'t know how to add some padding on the right.

\"scr

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-06 18:05

    I found that adjusting it in the storyboard does the trick. Click on the tableView and set the Separator Inset on Left and Right edges. Make sure to click on the tableView and not the cell.

提交回复
热议问题