Q:

How to remove/adjust separators in List?

Is there a way to remove separators or adjust separator insets in List view in SwiftUI?
In UIKit it can be achieved through
tableView.separatorStyle = .none

and
tableview.separatorInset = UIEdgeInsets(top: 0, left: 18, bottom: 0, right: 18)

What are the corresponding SwiftUI alternatives?

A:

You can remove separaters using: UITableView.appearance().separatorStyle = .none in SwiftUI
Just add on
List() {
}.onAppear {
         UITableView.appearance().separatorColor = .clear
}

or
struct SomeListView : View {
    init( ) {          
        UITableView.appearance().separatorStyle = .none
           }

    var body : some View {
        Text("TEST")
        }

struct CallList : View {
    var body : some View {

    List() {
    SomeListView()
    }
        }
}

A:

This can all be done in SwiftUI
To remove separators in compare with the good old way in UIKit tableView.separatorStyle = .none, add this line in init or the table view's onAppear method:
init() {
    UITableView.appearance().separatorStyle = .none
}

To adjust separator inset in compare with the line in UIKit tableview.separatorInset = UIEdgeInsets(top: 0, left: 18, bottom: 0, right: 18), add this line in init or onAppear method:
List(...){
    ...
}.onAppear() {
    UITableView.appearance().separatorInset = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 50)
}

