Reputation: 1147
I am trying to add an orange circle with a number (my number will change depending on certain circumstances) inside it in my WKInterfaceGroup like the image below.
However, it appears you can't change WKInterfaceLabel background color. The only solution I can think of is to add an image behind the label. So how can I achieve this (if it is possible)? Is there another way to make this work?
Upvotes: 1
Views: 981
Reputation: 3513
The easiest way to do this is to:
Upvotes: 6
Reputation: 3347
You could add the label to a WKInterfaceGroup
and set its background image property. Or, you can create pre-rendered template images and use setTintColor: to color them.
Upvotes: 0