分组tableViewCell - 设置分组表格单元格的背景后没有圆角 [英] grouped tableViewCell - no rounded corner after setting the background of a grouped table cell

查看:110
本文介绍了分组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];

这篇关于分组tableViewCell - 设置分组表格单元格的背景后没有圆角的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆