Created
March 25, 2013 03:05
-
-
Save hlxwell/5234649 to your computer and use it in GitHub Desktop.
Add shadow to UIView
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
_subtitleTextView.layer.shadowOffset = CGSizeMake(3.0f, 3.0f); | |
_subtitleTextView.layer.shadowColor = [[UIColor blackColor] CGColor]; | |
_subtitleTextView.layer.shadowOpacity = 1.0f; | |
_subtitleTextView.layer.shadowRadius = 0.0f; | |
_subtitleTextView.textColor = [UIColor whiteColor]; | |
_subtitleTextView.alpha = 1.0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment