Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swiftui change form section color

Form {
    Section(header: Text("User Details")) {
         Text("Name:").background(Color.red)
         Text("Email:").foregroundColor(Color.red)
    }.listRowBackground(Color.green)
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swiftui #change #form #section #color
ADD COMMENT
Topic
Name
7+7 =