We tested this on 2 devices:
- on first device the colors show properly
- on the other device the colors are either light or dark gray
Seems as if the colors weren't picked up properly by the app.
Tested on iOS 26 23A5336a.
There was no issue before
We tested this on 2 devices:
Seems as if the colors weren't picked up properly by the app.
Tested on iOS 26 23A5336a.
There was no issue before
Where are these colors used? How do they relate to your App Intents? Screenshots or code snippets would also be helpful to understand what you're seeing.
— Ed Ford, DTS Engineer
I'm attaching some more information, code and screenshots of the problem on two different devices using iOS 26 23A5336a.
The colors are used in SwiftUI View which is passed to the content
parameter of AppIntent.requestConfirmation
.
The colors are loaded using Bundle(named:in:compatibleWith)
.
The structure of the view is (with some stripping) this:
struct IntentView: View {
var body: some View {
VStack(alignment: .leading) {
VStack(alignment: .leading) {
Text(message)
.foregroundColor(.textColorNeutral100)
Text(userName)
.foregroundColor(.textColorNeutral100)
}
Text(badgeName)
.foregroundColor(.backgroundColorNeutral100)
.padding(Constants.smallMargin)
.background {
Capsule()
.fill(Color.backgroundColorPrimary50)
}
}
.scenePadding()
}
}
Thank you for the clarifications! In this circumstance, our guidance is to use the system semantic label styles so that it composes well over the translucent material when presented as a snippet. It's easy to miss the brief mention, but that recommendation is covered in the WWDC22 session Design App Shortcuts.
— Ed Ford, DTS Engineer