Nice shadow effect in text (UISegmentedControl)

Posted by Matthias on Stack Overflow See other posts from Stack Overflow or by Matthias
Published on 2010-05-06T08:07:42Z Indexed on 2010/06/10 11:43 UTC
Read the original article Hit count: 524

Hi,

I would like to bring some color to the texts of my UISegmentedControl. So, I've searched a bit about this topic, but it seems to be not possible out-of-the-box.

But I found this nice blog post (link text), how to build an image out of a custom text and then assign it to the segemented control. Works fine, but the text in these created images do not have this nice little shadow effect as the original ones.

So, does anyone know, how to create such a shadow effect? I guess, Apple does the same (building an image for the text) with the standard segmenented control.

Thanks for your help.

Regards Matthias

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c