0

我在下面给出了一个随机字符串。

ungs- und AnimationsprogrammSport / Unterhaltung: Gegen Ge

我想将Sport文本显示为粗体。

ungs- und Animationsprogramm Sport / Unterhaltung: Gegen G

我应该如何显示这样的文本?

感谢先进

4

2 回答 2

0

iOS 尚不支持属性文本的显示。

我建议使用Three20 的样式组件。

于 2010-06-29T14:05:39.093 回答
0

在 iOS4 中查看CoreText和。NSAttributedString

作为起点,请考虑查看有关文本处理的 WWDC 视频...

于 2010-06-29T14:32:41.467 回答