title: how to set cornerRadius for only bottom-left,bottom-right and top-left corner of a UIView?
body: <p>Is there a way to set cornerRadius for only bottom-left,bottom-right and top-left corner of a UIView?</p>
  
  <p>I tried the following, but it ended up making the view disappear. Is there anything wrong with the code below?</p>
  
  <pre><code>    UIBezierPath *maskPath;
      maskPath = [UIBezierPath bezierPathWithRoundedRect:view.bounds byRoundingCorners:(UIRectCornerBottomLeft | UIRectCornerBottomRight) cornerRadii:CGSizeMake(20.0, 20.0)];
      CAShapeLayer *maskLayer = [[CAShapeLayer alloc] init];
      maskLayer.path = maskPath.CGPath;
      view.layer.mask = maskLayer;
  </code></pre>