ios - set WKInterfaceButton title color - WatchKit -


is there way change color of watchkit wkinterfacebutton title programmatically? know can change in storyboard need change in code.

per apple documentation doesn't whether such action allowed or not. did try looking @ available methods wkinterfacebutton , there 1 setbackgroundcolor not title color. did miss something?

i haven't tried this, looks can use setattributedtitle: , 1 of attributes can nsforegroundcolorattributename color want set title too.


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -