In SwiftUI, I know you can do this:
List(.....) { item in
Text("What ever you want here").background(Color.white.cornerRadius(10))
}
Add .cornerRadius to each of the items or its background
Not sure in UIKit
Use UIHostingView(or sth like that) to bridge?
In SwiftUI, I know you can do this:
List(.....) { item in
Text("What ever you want here").background(Color.white.cornerRadius(10))
}
Add .cornerRadius to each of the items or its background
Not sure in UIKit
Use UIHostingView(or sth like that) to bridge?