开发者

display a bg image in table view for iphone

i can display BG image开发者_如何转开发 in table view cell but when i click any cell there is a blue color filling all my cell and my images just goes behind now i want to show my image in front of that blue color how to do that??

cell.backgroundView = [[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"SuperCell.png"]] autorelease];


Maybe you can use

cell.selectionStyle = UITableViewCellSelectionStyleNone;

and

cell.selectedBackgroundView = [[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"SuperCell.png"]] autorelease];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜