简体   繁体   English

Interface Builder中的“文本样式”是什么?

[英]What is this Text Styles thing in Interface Builder?

Wondering if there is some way to modify the properties found in this Text Styles dropdown on interface builder. 想知道是否有某种方法可以修改界面构建器上此“文本样式”下拉列表中的属性。 Not sure how to find any docs relating to this. 不知道如何找到与此有关的任何文档。

在此处输入图片说明

Text Styles 文字样式

Text Styles are semantic descriptions. 文本样式是语义描述。

There are a fixed number of descriptions, and currently, in iOS 9, 有固定数量的描述,目前在iOS 9中,

10 styles are supported: Title1, Title2, Title3 Headline, Subheadline Body Footnote Caption1, Caption2 Callout 支持10种样式:Title1,Title2,Title3标题,副标题正文脚注Caption1,Caption2标注

Use this link for reference https://developer.apple.com/reference/uikit/uifontdescriptor#//apple_ref/doc/constant_group/Text_Styles 使用此链接作为参考https://developer.apple.com/reference/uikit/uifontdescriptor#//apple_ref/doc/constant_group/Text_Styles

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM