Created
September 26, 2022 04:07
-
-
Save ra9r/3247b98ec05a67f452fb0bd2c3bf1319 to your computer and use it in GitHub Desktop.
This is how to change the background of a List. It is no longer necessary to reference UITableView.appearance().
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is how to change the background of a List. | |
// It is no longer necessary to reference UITableView.appearance() | |
List { | |
// list content | |
} | |
.scrollContentBackground(.hidden) // <-------- Here is the magic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment