I would like to give shadow effect like card similar to the image in my iOS app
I need this on UITableViewCell the image will not work for me also the the g
You can give shadow effect by using this code...
UIView *viewTemp= (UIView *)view; viewTemp.layer.shadowColor = [UIColor darkGrayColor].CGColor; viewTemp.layer.shadowOffset = CGSizeMake(0, 2); viewTemp.layer.shadowOpacity = 0.8; viewTemp.layer.shadowRadius = 3; viewTemp.layer.masksToBounds = NO;