I intend to use the following lines of code to add a "round view":
_myBackView = [[UIView alloc] initWithFrame:rect];
_myBackView.backgroundColor = [UIColor colorWithR:153 G:85 B:57 alpha:1.0];
_myBackView.layer.cornerRadius = artworkViewWidth / 2;
_myBackView.layer.masksToBounds = YES;
_myBackView.layer.borderWidth = 0;
_myBackView.clipsToBounds = NO;
[self.view addSubview:_myBackView];
The view is created fine and seems mostly round. But the problem is it does not seems to be "100% round" - the four edges seems to be a bit clipped still, although I had the clipsToBounds property set to NO.
Any guidance will be appreciated.
EDIT: just added the repro picture. Please pay attention to the 4 edges which were clipped.