Bảo Kool Bảo Kool - 4 months ago 15x
iOS Question

Margin space UITableView (Swift)

I want to show margin space left and right in UITableView look like images. I used

Xcode 7.3.1
and deployment target is 7.0. Please help me! Thanks very much.



You have to add one UIView into cell's contentview and than give constraints to it like below ...

enter image description here

Note: Don't forget to add background color to cell's contentview to see the effect.