Well, it looks like you should try using CALayer. Since UITableViewCell is a subclass of UIView, you can control its CALayer property.
So first, make sure that #import <QuartzCore/QuartzCore.h>
Then do something like for example
[cell.layer setCornerRadius:7.0f]; [cell.layer setMasksToBounds:YES]; [cell.layer setBorderWidth:2.0f];
when creating a cell. (If you are trying to create an effect like in a grouped table, I suppose you only need to manipulate the first and last cells.) This should result in rounded corners of the cell. By controlling CALayer, you can create the desired effect.
Also, check out this answer on how to do this with only some of the angles.
Matthew gillingham
source share