I am trying to make a survey using Apple's ResearchKit but I couldn't find how to change the color of the predefined buttons. They are blue but I want to make them of a different color. How to do this?
Asked
Active
Viewed 626 times
2 Answers
3
Using UIView
's appearance proxy to set the tint color should work:
[UIView appearance].tintColor = yourColor;

Ricardo Sanchez-Saez
- 9,466
- 8
- 53
- 92
1
It's very late now but might save somebody's time, worked for me:
taskviewcontrollerobject.view.tintColor = [UIColor redColor]; // color of your choice

Manish Sharma
- 11
- 3