什么是 iOS 中的等宽字体? [英] What is a monospace font in iOS?
本文介绍了什么是 iOS 中的等宽字体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在我的 iOS 应用程序中为我的 UILabel 使用等宽字体.
I want a monospace font for my UILabel in my iOS application.
不幸的是,我找不到一个.甚至美国打字机"实际上也不是等宽的.什么是 XCode 中可用的等宽字体?
Unfortunately, I could not find one. Even "American Typewriter" was not actually monospaced. What is a monospace font available in XCode?
推荐答案
看一个旧的 iOS 附带的字体列表 我看到 several 一种等宽字体s.
Looking at an old listing of fonts shipped with iOS I see several one monospace fonts.
(例如 Andale Mono、Monaco、 Courier New)
(eg. Andale Mono, Monaco, Courier New)
2018 年只有 Menlo 和 Courier.
For 2018 it's only Menlo and Courier.
这篇关于什么是 iOS 中的等宽字体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文