所以我在我的UITableViewCell.
我的单元格contentView基本上是一个UIView(frame = 0,0,80,70),具有黑色背景和UIImageView一个子视图。
图像视图的contentMode = UIViewContentModeScaleAspectFit;
这看起来像这样:

现在我像这样设置 selectedBackgroundView :
//set the custom selected color
UIView *bgColorView = [[UIView alloc] init];
bgColorView.backgroundColor = MY_TINT_COLOR;
CGColorRef darkColor = [UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha: 0.25].CGColor;
CGColorRef lightColor = [self.view.backgroundColor colorWithAlphaComponent:0.0].CGColor;
//setting some gradients here
//should not be relevant for the question
[cell setSelectedBackgroundView:bgColorView];
这会导致这样的结果:

我现在的问题是为什么selectedBackgroundView隐藏黑色部分contentView?
我已经尝试bgColorView使用从 开始的框架初始化 my x = 80,但这并没有改变任何东西。
我也试图明确地将 的 设置backgroundColor为imageView黑色,结果相同。
什么可能导致这种行为?