cell.accessoryType来设置UITableViewCell的样式 //设置为右边打钩 cell.accessoryType = UITableViewCellAccessoryCheckmark;