我有一个GridViewCell和它的背景我设置为clearColor像这样:持久白色背景虽然我已经将它设置为清除
UIView* mainView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 160, 123)];
[mainView setBackgroundColor:[UIColor clearColor]];
虽然由于某些原因,背景仍然是白色的。
这是我所看到的:
如果它的任何帮助,我在下面this tutorial。
如果你使用IB,你也可以在那里改变'window'的'backgroundColor'。 – runmad 2012-07-25 14:58:49
嗯,它没有效果。我已经放置了一张图片供你看。 – 2012-07-25 15:04:15