SwiftUI List with Section Index on right hand side?
问题 Is it possible to have a List with an index on the right hand side, like the example below in SwiftUI? 回答1: I was looking for a solution to the same question , but it currently the only option that we might have right now is using UITableView as View. import SwiftUI import UIKit struct TableView: UIViewRepresentable { func makeUIView(context: Context) -> UITableView { let tableView = UITableView(frame: .zero, style: .plain) tableView.delegate = context.coordinator tableView.dataSource =