分组tableViewCell - 设置分组表格单元格的背景后没有圆角

问题描述:

对于分组 UITableViewCell ,我意识到如果设置背景,顶部和底部单元格将有圆角。但是当你点击它时,它会显示处于选定状态的圆角。

For the grouped UITableViewCell, I realized that if you set a background, there will be rounded corner at the top and bottom cell. But when you click it, it will show you the rounded corner at the selected state.

[tblView.layer setCornerRadius:0.0f];