Was wondering how you can make the cell transparent without affecting its children (subviews)? I tried just setting the alpha property but obviously that affects the other views that I have added to the cell. Here are the following methods I've tried so far:
cell.contentView.backgroundColor = [UIColor colorWithRed:1 green:1 blue:1 alpha:.5]; cell.backgroundView.backgroundColor = [UIColor colorWithRed:1 green:1 blue:1 alpha:.5]; cell.backgroundColor = [UIColor colorWithRed:1 green:1 blue:1 alpha:.5]; cell.opaque = NO; cell.alpha = .5;
I've tried setting these in the cellForRowAtIndexPath delegate function, willDisplayCell delegate function, and even in the cell's layoutSubviews function after its super is called, but none have worked.
Keep in mind that this is for the Grouped style, I already know this will work for plain tables. The problem is that with Grouped style, the default white background color that is drawn in the cell doesn't seem to be affected with the methods that I've tried above. I've read a lot of people saying that it's not possible to have this with the grouped style, but I know that's not the case becasue the Bank of America app uses transparent grouped cells.
Thanks in advance!