Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sspbond007

macrumors member
Original poster
Aug 19, 2008
46
0
Hi,

I have completed my view, but now in last i decided to add an background image.I tried it using UIImageView, but if I add this it hide all the content of view. It doesn't go in background.
I also tried this from interface builder,I set background property,but nothing changed.
Please help me,how can I add background image to view after adding some content to view??? Or I need to add image first then redo my all work.
Thanks
 
Have you tried looking in the docs?

Thirty seconds' browsing through the documentation reveals that UIView has a method called sendSubviewToBack: which may be worth a try. Add your UIImageView to your main view, as you do now, and then call the main view's sendSubviewToBack: method, passing it the UIImageView as its parameter.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.