#pragma mark - 設置View單個圓角
+ (void)addCornerWithView:(UIView *)aView type:(UIRectCorner)aCorners size:(CGSize)aSize
{
??? // 根據矩形畫帶圓角的曲線
??? UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect:aView.bounds byRoundingCorners:aCorners cornerRadii:aSize];
??? CAShapeLayer *maskLayer = [[CAShapeLayer alloc] init];
??? maskLayer.frame = aView.bounds;
??? maskLayer.path = maskPath.CGPath;
??? aView.layer.mask = maskLayer;
}