With this example:
struct ContentView: View {
let items = ["Hello, world!"]
var body: some View {
List {
Button(action: {
}, label: {
Text("Hello, world!")
})
.listRowBackground(Color.gray)
}
}
}
on iOS 14, this looks like:
on iOS 15, it now looks like:
It is rather surprising the number of styling differences:
- The corner rounding: In iOS 15, but not earlier
- The text color: In iOS 15, blue and white earlier.
- The width of the view-- considerably narrower in iOS 15
Is this just an expected change with iOS 15?
Is there a standard way to not have these changes occur? I.e., to retain the earlier styling?