I'm trying to get a translucent uitableview, with this color
[UIColor colorWithRed:(247.0/255.) green:(151.0/255.0) blue:(121.0/255.0) alpha:0.38]
This is normal if there are only empty cells, but when there is content inside the cell, the background becomes more dense. It is as if the cell itself had the same table background, so that the transparency multiplied.
Cells with content inside are translucent, but with irregular alpha.
The table background is set correctly.
self.myTable.backgroundColor = bgcolor;
The cell background must be transparent and opaque
self.contentView.backgroundColor = [UIColor clearColor]; self.contentView.opaque = NO;
So why does he have this kind of behavior? Can anybody help me?
pasine
source share