iphone - TableView with background image -


i want have image behind tableview, added uiimage behind , set tableview background clear, in ib shows image behind tableview when run black background, can me this?

take off image , add code viewdidload:

uiview *patternview = [[uiview alloc] initwithframe:self.tableview.frame]; patternview.backgroundcolor = [uicolor colorwithpatternimage:[uiimage imagenamed:@"background.png"]]; patternview.autoresizingmask = uiviewautoresizingflexiblewidth | uiviewautoresizingflexibleheight; self.tableview.backgroundview = patternview; 

this way add fixed image background of tableview.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -