DoEvents / screen not updating until method is done.
Hi, I am new to IPhone Development...
I have am writing a app similar to a piano keyboard, I am recording touch events of UIButton's but when I go to "play" them back, by setting the .highlighted property of the button to true, and preforming the event that plays the sound, the buttons dont change color. I tried inverting the highlighted property on hunch and it appears it does the UI update after we are done with the event. I am guessing the UI thread is waiting for the processing thread to be done - or I am doing something basic wrong.
Typically in other languages I would call a DoEvents or a Application.ProcessMessages() here, to test that out, but per other members of this forum - a call like that does not exist.
Does anyone have any ideas?
-Deva
|