UITableView cell加圆角
func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath) {
let radius = 8.0 //圆角
cell.backgroundColor = .clear
let normalLayer = CAShapeLayer()
let selectLayer = CAShapeLayer...
原创
2022-03-03 11:22:52 ·
670 阅读 ·
0 评论