I have a rectangular object UIViewin a cell with a static table. I have access to the object, and I'm trying to selectively bypass the corners, but it will not be around the corners on the right. Here's what it looks like in a storyboard:

The view I want to customize is pale yellow. The red view does not serve any real purpose, except to confirm that the other view is not cropped.
No problems with limitations or errors. Here's what it looks like on 4S:

I am doing the configuration in tableView:willDisplayCell:forRowAtIndexPath:
With this code ( myView- exit to a pale yellow top view):
self.myView.layer.cornerRadius = 5.0f;
self.myView.clipsToBounds = YES;
I get this result:

All 4 corners are rounded. But I need to selectively twist the corners, as a rule, both the upper and both lower corners. Here is the code to round the two bottom corners:
CAShapeLayer *shape = [[CAShapeLayer alloc] init];
shape.path = [UIBezierPath bezierPathWithRoundedRect:CGRectMake(0, 0, self.myView.bounds.size.width, self.myView.bounds.size.height)
byRoundingCorners:UIRectCornerBottomLeft | UIRectCornerBottomRight
cornerRadii:CGSizeMake(5.0f, 5.0f)].CGPath;
self.myView.layer.mask = shape;
self.myView.layer.masksToBounds = YES;
And here is the result:

. .
( ), , , - .
, ?
, ?