Skip to content

Instantly share code, notes, and snippets.

@arzola
Created February 18, 2014 03:11
Show Gist options
  • Save arzola/9064024 to your computer and use it in GitHub Desktop.
Save arzola/9064024 to your computer and use it in GitHub Desktop.
Put shadow in uinavigationbar
self.navigationController.navigationBar.layer.shadowOpacity = 0.6;
self.navigationController.navigationBar.layer.shadowOffset = CGSizeMake(0, 1);
self.navigationController.navigationBar.layer.shadowRadius = 5;
self.navigationController.navigationBar.layer.masksToBounds = NO;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment