Created
May 11, 2013 12:04
-
-
Save codeincontext/5559784 to your computer and use it in GitHub Desktop.
Genius trick to get an inner drop shadow on a UILabel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| label.textColor = [UIColor colorWithRed:1.0 green:1.0 blue:1.0 alpha:0.55]; | |
| label.shadowColor = [UIColor blackColor]; | |
| label.shadowOffset = CGSizeMake(0.0,-1.0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment