Is there a way to play a sound file immediately after a button is pressed. Right now I have the problem that the sound file needs some time until it is played. It is less then a sec. but in native iPhone apps it is possible to play it instantly. My app is realy simple so that it shouldn't be the code.
Maybe there is a trick?
Preload the sound, and onclick play it only.
If you create the sound when the button is clicked, then it takes a time until is loading it into memory, the bigger the sound, the longer the lag