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 -

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -