Skip to content

Instantly share code, notes, and snippets.

@tmdvs
Created September 10, 2012 09:10
Show Gist options
  • Save tmdvs/3689812 to your computer and use it in GitHub Desktop.
Save tmdvs/3689812 to your computer and use it in GitHub Desktop.
[[self layer] setMasksToBounds:YES];
[[self layer] setShadowColor:[[UIColor blackColor] CGColor]];
[[self layer] setShadowOffset:CGSizeMake(0, 0)];
[[self layer] setShadowOpacity:1];
[[self layer] setShadowRadius:4.0];
[[self layer] setBackgroundColor:[[UIColor clearColor] CGColor]];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment