layer.shadowColor = [UIColor blackColor].CGColor;
When UIView itself is transparent when provided shadowColor ineffective
layer.shadowColor = [UIColor blackColor].CGColor;
When UIView itself is transparent when provided shadowColor ineffective