IPhone Fixed-Position UITableView Background?

You can place an additional view below UITableView and set its background, so if UITableView is transparent - you'll achieve your goal - it will have correct background and it will not scroll.

This means alpha-blending the UITableView. Have you noticed any performance degradation using this method? – Frank Krueger Dec 25 '09 at 7:17 I used it on a very simple case and therefore haven't seen any degradation.So the only way to know it is to try it, it shouldn't take much time.

– Valerii ora Dec 25 '09 at 7:27 Hmmm... it sounds good, but I'm still having some issues with it. I placed the following code in the ViewDidLoad of my UITableViewController: self.view. BackgroundColor = UIColor clearColor; UIImageView *background = UIImageView allocinitWithImage: UIImage imageNamed: @"groupedBackground.

Png"; self. View addSubview: background; self. View sendSubviewToBack: background; Since "background" is still within the tableView, it scrolls with the rest of it, and the cells are not showing up on top of the background image.

– treblig Dec 25 '09 at 8:11 You can create a simple UIViewController and place background + table to the main view. – Valerii ora Dec 25 '09 at 20:18.

We find that it works exactly as you ask, if instead of using backgroundColor, you assign to backgroundView, like so: self.tableView. BackgroundView = UIImageView alloc initWithImage: UIImage imageNamed:@"background. Png"; The table cells then scroll on top of the background, which is stationary.(This has been available since version 3.2 of the SDK, I believe.).

I'm building an iPhone app without the use of Interface Builder. BackgroundColor = UIColor colorWithPatternImage:UIImage imageNamed:@"groupedBackground. I'm trying to fix this background image so that it doesn't scroll with the table cells.

Does anyone know how to do this?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions