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
Post a Comment