I’ve a query concerning the deprecation of the plus signal to concatenate strings containing SF symbols.
In iOS 18 I might use the next textual content in my app:
Textual content(“Faucet the keyboard down button (“) + Textual content(Picture(systemName: “keyboard.chevron.compact.down”)).foregroundStyle(Coloration(.systemBlue)) + Textual content(“) to shut the keyboard.”)
In iOS 26 this offers the warning:
‘+’ was deprecated in iOS 26.0: Use string interpolation on
Textual content
as an alternative:Textual content("Whats up (identify)”)
So upgrading to the brand new change I attempted:
Textual content("Faucet the keyboard down button ((Picture(systemName: "keyboard.chevron.compact.down").foregroundStyle(Coloration(.systemBlue))) to shut the keyboard”)
However this offers the warning:
‘appendInterpolation’ is deprecated: Localized string interpolation produces an unlocalized, debug description for such a worth. Use a sort supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource as an alternative with an interpolated worth that conforms to CustomLocalizedStringResourceConvertible.
It seems that I can now not set the SF image shade.
Am I lacking one thing, or is there one other option to set the colour of the SF image utilizing iOS 26 inside a textual content string?