Question:With the new
SwiftUIupdate in iOS 16
Listno longer depends on
UITableView. So the following snippet we used to set the
Listbackground color to
.clearis now useless:
introspectto solve the problem, but does anyone know of another maybe cleaner way to achieve the same behavior?
Also note that on
macOS, the following works fine (Tested using
Xcode 14 beta&
Now they use
UICollectionViewfor backend, so an updated workaround is to change corresponding background colors:
If you have better answer, please add a comment about this, thank you!