I am trying to change the color of the text when I add the viewer application (modular large tall body), but whatever I do, the text remains white.
Here is my code, the lines that include tintColor, I tried them together and each one of them one by one.
let secondTemplate = CLKComplicationTemplateModularLargeTallBody()
secondTemplate.tintColor = UIColor.greenColor()
secondTemplate.headerTextProvider.tintColor = UIColor.greenColor()
secondTemplate.bodyTextProvider.tintColor = UIColor.greenColor()
secondTemplate.headerTextProvider = CLKSimpleTextProvider(text: location.uppercaseString)
secondTemplate.bodyTextProvider = CLKSimpleTextProvider(text: "It 4:20")
let secondEntry = CLKComplicationTimelineEntry(date: dateOf420, complicationTemplate: secondTemplate)
entries.append(secondEntry)
I was looking for CLKComplication tinted questions, but I didn’t find anything, hope you can help!
source
share