I have a horizontal UIScrollView. It have 3 pages. It I have 3 UIButtons on each page of the scrollview. Total of 9 UIButtons. I need to set a different color when a button is touched, so that I can differentiate that touched button with the other buttons.
I tried setColor by checking BOOL values. It is working for single page. When I touch a button it's color is changed and I can remove the color for other buttons in same page. But, the color set in other page is still there.
How can I set the other button colors (of other pages) to nil when I touch on any button in any page.