I use this code to set a background image. The only problem is that it covers everything I insert in the XIB file. What should I do to ensure that my textfields, buttons, etc. are also visible (in front of the background). Thanks for your help!
// Setup the background
UIImageView *background = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"background.png"]];
[self.view addSubview:background];
[background release];
1 Answer