alex
alex

Reputation: 879

Changing backgroundview of a uitableviewcell to nil

I have a grouped table view and I don't want a see the background for a specific cell, because I put a picture in this cell. So in the cellForRowAtIndex, I put cell.backgroundView= nil;. But it don't works, but If reload the data of the tableview now the background of my cell disappear. How I can disappear the background on the first load of my tableview.

Upvotes: 0

Views: 294

Answers (1)

eviltrue
eviltrue

Reputation: 679

You can try to simply hide background: cell.backgroundView.hidden = YES

Upvotes: 2

Related Questions