属性检查器:如何使用“拉伸” [英] Attributes Inspector: how to use "Stretching"

查看:92
本文介绍了属性检查器:如何使用“拉伸”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

视图子框中的拉伸框中的接口构建器的属性检查器中有哪些数字?

What are the numbers in the Stretching box in the View sub-box Interface Builder's Attributes Inspector?

(作为一个附带问题 - 我认为这是一个受人尊敬的公司,如Apple实际上会发布其工具的文档,而不是让开发人员猜测所有内容;那么,这个文档在哪里?...)

(as a side question - I suppose a respectable company such as Apple would have actually released documentation for its tools, as opposed to letting developers just guess everything; so, where's this documentation?...)

推荐答案

在文本编辑器中查看 .storyboard 文件(数据为 XML 文件)显示答案:它链接到 UIView contentStretch property。

Viewing a .storyboard file in a text editor (figures it's an XML file) revealed the answer: it is linked to UIView's contentStretch property.

这篇关于属性检查器:如何使用“拉伸”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆