Last active
August 29, 2015 14:16
-
-
Save Air-Craft/6abca101683b469f3c2d to your computer and use it in GitHub Desktop.
Correct shadow on a UIView with rounded rect / corner radius #objective-c #ios #styles #basic
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
_containerView.layer.shadowPath = [UIBezierPath bezierPathWithRoundedRect:_containerView.bounds cornerRadius:_containerView.layer.cornerRadius].CGPath; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment