Created
March 17, 2014 16:22
-
-
Save m-etka/f2ade63294f227bfa09e to your computer and use it in GitHub Desktop.
This file contains 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
aView.layer.shadowColor = [UIColor blackColor].CGColor; | |
aView.layer.shadowOpacity = 0.7f; | |
aView.layer.shadowOffset = CGSizeMake(0.0f, 0.0f); | |
aView.layer.shadowRadius = 5.0f; | |
aView.layer.masksToBounds = NO; | |
UIBezierPath *path = [UIBezierPath bezierPathWithRect:aView.bounds]; | |
aView.layer.shadowPath = path.CGPath; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment