解决tableView cell添加阴影滑动卡顿问题,只需多两行代码
直接上代码[cell setBackgroundColor:[UIColor whiteColor]]; [cell.layer setCornerRadius:4]; [cell.layer setShadowColor:[UIColor whiteColor]]; [cell.layer setShadowOffset:CGSizeMake(0,2)]; [cell.layer...
原创
2018-03-19 10:48:55 ·
2193 阅读 ·
0 评论