TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
UIView category for setting shadow.
Just drag&drop the UIView+BIShadow.h/m
files in your Xcode Project.
myView.shadowColor = [UIColor lightGrayColor];
myView.shadowOpacity = 0.8;
// Set shadow above the view.
NSDictionary *shadowDictionary = @{UIViewShadowOffset.top : @(20)};
[myView setShadow:UIViewShadowTop withOffsets:shadowDictionary];