문제

The font called from [UIFont boldSystemFontWithSize xx] is not fixed-width, I don't know the exact name of this system font (iOS 6).

I'm wondering if there is a built-in fixed-width font? Otherwise I have to embed a new font to my app.

PS: maybe iOS 7 system font is fixed-width, LOL

Thanks guys.

도움이 되었습니까?

해결책

Here's the list of built-in fonts available on iOS: http://iosfonts.com.

Courier looks like the only monospace font in there.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top