The custom color wasn't taken into account previously. The only to color the title was to use an AttributedString.
Creating the Text of the Title through an AttributedString still works and its colors attributes overrides the foregroundColor.
But if the title is created with a simple string the foregroundColor will then be applied.
The custom color wasn't taken into account previously. The only to color the title was to use an AttributedString. Creating the Text of the Title through an AttributedString still works and its colors attributes overrides the foregroundColor. But if the title is created with a simple string the foregroundColor will then be applied.