My app displays a battery icon using the SF Symbols library.
After upgrading my iPhone from iOS 27 to 27.2.1, the battery icon is not displayed correctly anymore as the foreground colours are being applied differently. It seems that the primary and secondary foreground styles are swapped. Also it seems that the 100% icon now only applies the primary style.
I created a small example that shows my issue.
Here is a comparison from an iPhone Duo simulator running iOS 27.1, and my iPhone running iOS 27.3:
As you can see, the colours are now swapped for 25%, 59%, and 75%, and the full icon only has only one colour with no outline.
So my question is: Is this expected/intentional, and if so, am I expected to just work around it?
---
### Example code:
```swift
struct ContentView: View {
var body: some View {
VStack {
Image(systemName: "battery.0percent")
.foregroundStyle(.green, .red)
Image(systemName: "battery.25percent")
.foregroundStyle(.green, .red)
Image(systemName: "battery.50percent")
.foregroundStyle(.green, .red)
Image(systemName: "battery.75percent")
.foregroundStyle(.green, .red)
Image(systemName: "battery.100percent")
.foregroundStyle(.green, .red)
}
}
}
#Preview {
ContentView()
}
```
0
0
154