iOS 贝塞尔曲线绘制view阴影
UIBezierPath *shadowPath = [UIBezierPath bezierPathWithRect:view.bounds];
view.layer.masksToBounds = NO;
view.layer.shadowColor = UIColor.blackColor.CGColor;
view.layer.shadowOffset = CGSizeMake(0, 5);
view.layer.shadowOpacity = 0.5f;
view.layer.shadowPath = shadowPath.CGPath;