我的應用,其中,我使用的圖像作爲iphone.I的單元格的背景正在做,像這樣如何在iPhone中的cell.backgroundview下添加圖像?
cell.backgroundView = [ [[UIImageView alloc] initWithImage:[[UIImage imageNamed:@"chat_cell1.png"] resizableImageWithCapInsets:UIEdgeInsetsMake(6,39,15,60)] ]autorelease];
現在我增加另一個圖像的內容視圖的相同cell.its小image.i需要顯示的圖像關閉背景圖與實際高於這個image.I背景視圖的某些部分需要這個波紋管的背景view.`
[[cell contentView] insertSubview:imageView belowSubview:cell.backgroundView];
[[cell contentView]sendSubviewToBack:imageView];
',但它仍然是顯示在背景視圖上方。任何人都可以幫助我解決這個問題?