我有一個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