How to create a transparent cell in a UITableView

- by

First we make the cell’s background transparent. Next we create a custom view which we can show behind the cell, like so:

cell.backgroundColor = [UIColor clearColor];
UIView *backView = [[UIView alloc]initWithFrame:CGRectZero];
backView.backgroundColor = [UIColor clearColor];
cell.backgroundView = backView;


If you enjoy my content, please consider supporting me on Ko-fi. In return you can browse this whole site without any pesky ads! More details here.

Leave a Comment!

This site uses Akismet to reduce spam. Learn how your comment data is processed.