Is it possible to apply a margin between UITableView cells?
The brief requires the table cells to look like below -

I have a custom cell class to style the background / fonts / separate labels - but cannot figure out how to apply any kind of spacing!
I woud do it the following way: first, make sure background color for both your UITableViewCell and its contentView is [UIColor clearColor], then add a subview slightly smaller than your cell contentView (so that height = CGRectGetHeight(contentView) - margin) and fill it with the color you need. Then set the backgroundView for your UITableView and this should do the trick.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With