开发者

Set Grouped table view background colour

how can i set the background color of a grouped table view to clear color so that is get the image of the underlying Image View. i tried to set the view color to clear view in the xib it works fine in case of a normal table view but doesnt work for a grouped table view i also tried it progra开发者_Python百科mmatically but in vain is there any work around


Check this code for clear the background color of grouped table view..

UIView *backView = [[UIView alloc] init];
[backView setBackgroundColor:[UIColor clearColor]];

[yourTableView setBackgroundView:backView];

Thanks..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜