Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Darkroom

Guest
Original poster
Dec 15, 2006
2,445
0
Montréal, Canada
for alignment purposes i need to create one (and only one) UILabel, but that label needs to contain different type faces and sizes. however, i've read that NSAttributedString is not available for iPhone. is it possible to have one label with different attributes some other way?
 
Assuming a compact UIWebView is inappropriate, my ideas are:

Multiple UILabels stacked together

Custom drawing with the UIKit String Drawing methods.

Custom drawing with Core Graphics.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.