Created
June 24, 2013 18:52
-
-
Save sergiosvieira/5852472 to your computer and use it in GitHub Desktop.
drop shadow in tableview
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
self.tableView.layer.shadowColor = [UIColor darkGrayColor].CGColor; | |
self.tableView.layer.shadowOffset = CGSizeMake(1.0f, 1.0f); | |
self.tableView.layer.shadowOpacity = 0.4; | |
self.tableView.layer.shadowRadius = 5.0f; | |
self.tableView.clipsToBounds = NO; | |
self.tableView.layer.masksToBounds = NO; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment