thank you for reply, but in my app, the game have to be loaded dynamically from internet so it cant be compiled with the app.
and i think there's no difference between safari and a UIWebView (used in phonegap)so if sound wont to play in safari, it will not play in phonegap(if we dont use plugins ).is this true ?
with my friend (ios dev) we test to play sound natively, when i want to play sound i 'send' a fake url (http://blabla.com?soundToPlay=xx.aiff) and he catch url and play the sound, but we have 2 problems :
* we have a small latency, have you other way to do this without latency.
* sounds have to be already compiled with the app, so it limit choices.