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 witout any pesky ads! More details here.

Add your voice!

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