UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect:oraView.boundsbyRoundingCorners:UIRectCornerTopLeft | UIRectCornerTopRight cornerRadii:CGSizeMake(5, 5)];
CAShapeLayer *maskLayer = [[CAShapeLayer alloc] init];
maskLayer.frame = oraView.bounds;
maskLayer.path = maskPath.CGPath;
oraView.layer.mask = maskLayer;