I have a simple UIButton with an Alpha property that I would like to animate from 1.0f to 0.0f, and then back to 1.0f. This is basically responding to TouchDown.
Also, is there anything special I need to do if the routine I am calling from is not on the main thread (async delegate invoked on the ThreadPool)?
Should I use CAAnimation?
Thanks!
Thanks for the iPhone code post.
The second answer is using a global variable and skips the parameters for the callback. Here is what I figured out today based on the first answer.
Unless someone pipes up with a mono way to do it, I say use:
This is pretty simple: