Square instead of rounded corners in UITableViewCell grouped style

后端 未结 4 1953
無奈伤痛
無奈伤痛 2021-01-01 06:16

I want to have square corners for my grouped tableview cells instead of the default rounded corners, and I don\'t just want to use an image to give that effect. Is it possib

4条回答
  •  佛祖请我去吃肉
    2021-01-01 06:50

    You can set the UITableViewCell's backgroundView and selectedBackgroundView to a custom UIView you create yourself. That should give you a square cell.

提交回复
热议问题