SwiftUI:在“列表”编辑模式下更改删除按钮标题

Sta*_*sky 6 swiftui

有没有办法在使用内置编辑列表时指定删除按钮标题DeleteButton

示例代码:

struct ExampleView: View {
    @State
    private var users = ["Paul", "Taylor", "Adele"]

    var body: some View {
        NavigationView {
            List {
                ForEach(users, id: \.self) { user in
                    Text(user)
                }.onDelete(perform: delete)
            }.navigationBarItems(trailing: EditButton())
        }
    }

    func delete(source: IndexSet) { }
}
Run Code Online (Sandbox Code Playgroud)

代码给出(当编辑处于活动状态时):

默认删除按钮:

我想放置“some_text”而不是“Delete”——SwiftUI 可以吗?另外,是否可以更改一行的删除标题?