Quote:
Originally Posted by hellow
Hi,
I was wondering if it was possible to vary font within a UILabel. I would like certain letters to be smaller or larger than normal in the same UILabel, but I can't seem to do it without making multiple UILabels.
Thanks,
hellow
|
Nope, sadly not. At the moment it's one font (and color/style/size) per UILabel.
If it's something you're going to do a lot, you could subclass UILabel so that it effectively contained multiple UILabels. It still wouldn't be ideal, but at least it would hide what's going on under the hood, and make your overall code easier to follow.