2016-06-23 58 views

回答

2

是的,你可以做到这一点使用UITableViewCellaccessoryView象下面这样:

cell.accessoryType = .Checkmark 
cell.accessoryView = UIView(frame: CGRectMake(0, 0, 20, 20)) //You can change to UIButton with your own custom checkmark button 
cell.accessoryView.backgroundColor = UIColor.blueColor() //change to your color 
相关问题