📜  禁用尾随滑动动作 swift 代码示例

📅  最后修改于: 2022-03-11 15:00:57.778000             🧑  作者: Mango

代码示例1
// instead of:

return UISwipeActionsConfiguration(actions: [deleteAction])

// do something like this:

let configuration = UISwipeActionsConfiguration(actions: [deleteAction])
configuration.performsFirstActionWithFullSwipe = false
return configuration