views:

321

answers:

2

How would it be possible to include both bold and non-bold text in a uiLabel?

I'd rather not use a UIWebView.. I've also read this may be possible using NSAttributedString but I have no idea how to use that. Any ideas?

Apple achieves this in several of their apps; Examples Screenshot: link text

Thanks! - Dom

A: 

Check out this topic from a previous Stack Overflow. (Basically, create two UILabels and position them correctly relative to each other.)

samkass
+2  A: 

Use a CATextLayer with an NSAttributedString ! much lighter and simpler than 2 UILabels. (iOS 3.2 and above)

nacho4d