views:

285

answers:

1

Actually I love UILabel. They're sweet. Now I had to go to UITextView because UILabel is not aligning text vertically to the top. Damn. One thing I really need is a text shadow. UILabel has it. UITextView seems to not have it. But I guess that guy just uses the same underlying UIKit NSString additions?? Maybe someone already has a solution for that problem? What would I overwrite?

+4  A: 

First idea: Set the background of the UITextView to transparent, create a clone with the same text, set the text it to your desired shadow color and add it to the superview, just behind it with an offset. Tricky shadow ;)

unset
lol...indeed this works. but pretty heavy.
dontWatchMyProfile