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 -

php - How to Access to Laravel 5 with Pingpong-Modules to a specific Module -

sql server - Sharing data between stored procedures -