我正在界面生成器中拖动...我想指定图像是在前面(如指示符)还是在按钮后面(如背景)。我没有看到任何z-index属性,因为我习惯在其他环境中看到它。如果z-index属性没有,那么我想要实现的目标是什么?谢谢!
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!
推荐答案我通过点击一个ui元素(按钮,图像,文本等)实现了我想要的目标布局菜单(在屏幕顶部),然后我使用带到前面,发送到后面等。
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.
在Xcode 4.2中你会发现菜单顶部的选项:编辑 - >排列
In Xcode 4.2 you'll find the options in menu up top: Editor->Arrange
更多推荐
IPhone Interface Builder:Z
发布评论