Edit:
The following only works if the SwiftUI view is embedded in a UIKit parent.
For anyone still wondering, you can use .onAppear modifier to achieve this.
.onAppear {
UITableViewCell.appearance().selectionStyle = .none
}
This is similar to viewWillAppear in UIKit.
Source: HackingWithSwift