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

Compile 'em all

macrumors 601
Original poster
Apr 6, 2005
4,131
359
Anyone knows if it is possible to add shadow to text in a UITextView like that of a label? Thanks!
 
Doesn't seem to be. You should probably look over all the fonts available on the phone to see if any of them give you a shadow appearance.

If you only need display, not input, you could probably put a label into a scrollview.

Looking over the 3.2 docs it seems that they've added a lot of APIs related to text, so possibly something there would work better.
 
i dont think there is an option built into the ipod sdk but what you could do is make an image file with the type of txt you are looking for and just replace your label with you picture that has the shadow txt in it
 
Perhaps you can add an underlaying UITextView with the same text, some pixels offset (for instance 1px right, 1px down), black and transparancy set to 50%?

This way you can keep your text dynamic if that's preferabel.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.