ios - How to add an image below the cell.backgroundview in iphone? -


i had application in using image background of cell in iphone.i doing

cell.backgroundview = [ [[uiimageview alloc] initwithimage:[[uiimage imagenamed:@"chat_cell1.png"] resizableimagewithcapinsets:uiedgeinsetsmake(6,39,15,60)] ]autorelease];

now adding image content view same cell.its small image.i need show image close background view part of background view above image.i need bellow background view.`

 [[cell contentview] insertsubview:imageview belowsubview:cell.backgroundview];              [[cell contentview]sendsubviewtoback:imageview]; 

`but still showing above background view.can me on this?

create single uiview containing both background image , new image view. set background view container.


Comments

Popular posts from this blog

How to logout from a login page in asp.net -

Stack level too deep error after upgrade to rails 3.2 and ruby 1.9.3 -