Skip to content

Change the color of Section of List in SwiftUI

   

This is a sample to change the color of Section of List in SwiftUI. There are some articles that use Appearance to change the background color, but I was able to do it in the following way.

Remove/change section header background color in SwiftUI List

SectionHeader

  1. Create a sequential numbered array in Swift
  2. Tap to check the section-delimited ListView
  3. Tap to check the ListView
  4. Aggregating CSV with Swift
  5. Make the background of UIView a grid or a dot.
  6. Using ReplayKit to record a screen
  7. Aligning Views like UICollectionView in SwiftUI