I am new to iphone development.When i tried to displayed a background image for my table view ,image appears for every cells.I want display single image开发者_Python百科 thats fits the screen and not displayed in every cell.Please help me out.Thanks.
Make your table view a subview of a UIView
(let's call it parentView
). You can then make the table view's background clear to show the UIView
positioned underneath. You then set that UIView
to contain an image view:
self.tableView.backgroundColor = [UIColor clearColor];
[self.parentView addSubview:myImageView];
精彩评论