Programmatically set ontintcolor
thomascsorbamedia opened this issue · comments
Thomas Kerkhove commented
Hello,
I tried setting the ontintcolor programatically, this doesn't seem to work. only through storyboard.
self.paperSwitch1.onTintColor = UIColor(red: 241/255, green: 196/255, blue: 15/255, alpha: 1)
self.setupColorSwitch()
I set this in the viewDidLoad function but it doesn't seem work, anyone now a solution?
Thomas Kerkhove commented
Thank you