IPhone Interface Builder: Z-Index, Z-order of a button, image, ui element, etc?

Shai UI picture Shai UI · Feb 16, 2010 · Viewed 68.9k times · Source

I'm dragging things around in the Interface Builder... I'd like to specify whether an image is in front (like an indicator) or behind of a button (like a background). I don't see any z-index property as I'm used to seeing on other environments. If there isn't a z-index property what is the best way to go about what I'm trying to accomplish? Thanks!

Answer

Shai UI picture Shai UI · Feb 16, 2010

I achieved what I wanted by clicking on a ui element (button, image, text, etc) and going to the Layout menu (at the top of screen) and then I used "bring to front", "send to back", etc.

In Xcode 4.2 you'll find the options in menu up top: Editor->Arrange