I am having troubles with a button that I can't get to change color/fill when pressed on iPad. It works well when I preview the app in browser while using mouse but wont happen on iPad. Any ideas what I could do to make it work?
That is one option but it (in my opinion) works better the way I put above where instead having to put the if statement on your fill you just change the button properties off the variable.
I have done both and just find this way to be easier and cleaner...but everybody has their own style and way of doing things. I like this option because I prefer being able to click on the colors so I can see what I like better instead of having to type them out in the if statement. But is basically has the same outcome either way.