I want to set an image as a setting’s page’s/view’s background image. I have already created my Settings page and I have the image. I apply a UIImage View but I can’t seem to set it as the background image in Interface builder.
Forum posts like this one:
http://forums.macrumors.com/showthread.php?t=715391
seem to imply there is a ‘Layout’ menu item that I can pick in IB and from there select ‘Send to back’. But I can’t find this anywhere in Interface Builder. Am I going nuts or has this been removed from the latest version of Xcode.
If it has, is there anyway within interafce builder to send my .png image as a background image for the page.
Thanks
…Dale
I am hoping that you are using a
UIImageViewas background image and inserting it into your view hierarchy. There are 2 ways you could do this –1.From IB – Forget about ‘Send to back’, a simpler way to set your view hierarchy is –
here in the view hierarchy,
mapViewis topmost and theUIImageViewis at the bottom most. IF you want to change this hierarchy all you need to do is drag the view and move them up or down. hope this is clear.2.From Code – You can either insert it any where in your view hierarchy and push it all the way to the back with
sendSubviewToBack:or you can make the UIImageView the parent view.