func tableView(tableView: UITableView, editActionsForRowAtIndexPath indexPath: NSIndexPath) -> [UITableViewRowAction]? { let row = UITableViewRowAction.init(style: UITableViewRowActionStyle.Default, title: "删除") { (action, indexPath) in print("此处写删除业务逻辑") } let rowsec = UITableViewRowAction.init(style: UITableViewRowActionStyle.Default, title: "标记") { (action, indexPath) in print("此处写标记业务逻辑") } let arr:Array = [row,rowsec] rowsec.backgroundColor = UIColor.orangeColor() return arr }