iphone:Labels

出自UXGuide.net

跳转到: 导航, 搜索

请帮助我们修订和更新本文的译文部分

本文的译文部分可能是由多个贡献者提供或从不同的渠道收集,未经过最终审阅和整理,请您帮助我们一起修订和更新本文的译文部分。

标签
Labels

A label is a variably sized amount of static text. Figure 9-5 shows an example of a label.

标签是指不同大小的静态文本。图9-5显示了一个标签的例子。

Figure 9-5  A label gives users information
图9-5 标签为用户提供信息

ui_label.jpg

You can use a label to name parts of your user interface or to provide limited help to the user. A label is best suited to display a relatively small amount of text.

你可以使用标签来命名用户界面的某些部件或为用户提供有限的帮助。标签是最适合显示相对较少的文本。

You can determine various properties of the label’s text, such as font, text color, and alignment, but above all, you should take care to make your labels legible. Don’t sacrifice clarity for fancy fonts or showy colors.

你可以决定标签文本的各种属性,如字体,文本颜色和对齐方式,但首先,你应该使你的标签清晰。不要为了奇特的字体或艳丽的颜色而牺牲文字的清晰度。

As you compose the text of your labels, be sure to use the user’s vocabulary. Examine the text in your application for developer-centric terms and replace them with user-centric terms.

当你撰写你的标签文本时,一定要使用用户的词汇。检查你那些以开发为中心的应用中的文本,并且用以用户为中心的应用中的文本取代他们。

To learn more about using labels in your code, see UILabel Class Reference.

要了解有关在代码中使用标签的更多信息,请参阅 UILabel 类型参考

个人工具
名字空间
变换
动作
导航
工具箱