IPhone Interface Builder:Z

编程入门 行业动态 更新时间:2024-10-26 07:27:48
本文介绍了IPhone Interface Builder:Z-Index,按钮的Z顺序,图像,ui元素等?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在界面生成器中拖动...我想指定图像是在前面(如指示符)还是在按钮后面(如背景)。我没有看到任何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

本文发布于:2023-06-11 17:30:38,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/639795.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:IPhone   Interface   Builder

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!