How to give space between two cells in tableview?

前端 未结 26 1518
谎友^
谎友^ 2020-11-29 00:11

I want a space between two cell in table view,

I want cell like this,

\"enter<

26条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-29 00:46

    You don't have to assign each section for each cell. Just create a UIView (container) inside your cell, margin it with cell's view. And we layout components like label, text, image on that container.

提交回复
热议问题