objective-c - Apple 在“设置”应用中使用了哪些字体?
<p><p>我想知道 Apple 使用哪些文本/字体设置来创建 iPhone 中使用的标题文本。例如,如果您转到“设置”->“Wi-Fi”,则会出现标题文本“选择网络...”</p>
<p>如何让我的文本看起来像这样和/或在苹果使用的文本设置的任何地方都有文档?</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>也许是标准系统字体?来自 <a href="http://developer.apple.com/library/IOS/#documentation/UIKit/Reference/UIFont_Class/Reference/Reference.html" rel="noreferrer noopener nofollow">UIFont class</a>引用:</p>
<blockquote>
<h3>Creating System Fonts</h3>
<p><a href="http://developer.apple.com/library/IOS/documentation/UIKit/Reference/UIFont_Class/Reference/Reference.html#//apple_ref/occ/clm/UIFont/systemFontOfSize%3a" rel="noreferrer noopener nofollow"><code>+ systemFontOfSize:</code></a><br/>
<a href="http://developer.apple.com/library/IOS/documentation/UIKit/Reference/UIFont_Class/Reference/Reference.html#//apple_ref/occ/clm/UIFont/boldSystemFontOfSize%3a" rel="noreferrer noopener nofollow"><code>+ boldSystemFontOfSize:</code></a><br/>
<a href="http://developer.apple.com/library/IOS/documentation/UIKit/Reference/UIFont_Class/Reference/Reference.html#//apple_ref/occ/clm/UIFont/italicSystemFontOfSize%3a" rel="noreferrer noopener nofollow"><code>+ italicSystemFontOfSize:</code></a></p>
</blockquote>
<p>尝试一下颜色和阴影:</p>
<pre><code>];
[label setTextColor:
[UIColor colorWithRed:0.223
green:0.266
blue:0.349
alpha:1.0]];
];
;
</code></pre></p>
<p style="font-size: 20px;">关于objective-c - Apple 在“设置”应用中使用了哪些字体?,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/7486754/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/7486754/
</a>
</p>
页:
[1]