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;

Add your voice!

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