开发者

How to highlight a text of string in objective c

I have a random string given below.

ungs- und AnimationsprogrammSport / Unterhaltung: Gegen Ge

I would like to display the Sport text as a bold.

ungs- und Animationsp开发者_开发技巧rogramm Sport / Unterhaltung: Gegen G

How should can I display text like this?

Thanx in advanced


iOS does not yet support the display of attributed text.

I suggest using Three20's style component.


Look at CoreText and NSAttributedString in iOS4.

As a starting point, consider reviewing the WWDC videos on text handling...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜