Skip to content

Instantly share code, notes, and snippets.

@tudormunteanu
Created October 27, 2011 10:14
Show Gist options
  • Save tudormunteanu/1319222 to your computer and use it in GitHub Desktop.
Save tudormunteanu/1319222 to your computer and use it in GitHub Desktop.
UIView shadow
self.layer.shadowColor = [UIColor blackColor].CGColor;
self.layer.shadowOpacity = 0.4;
self.layer.shadowRadius = 5;
self.layer.shadowOffset = CGSizeMake(5.0f, 5.0f);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment