I created instance AVAudioPlayer
but the instance is working only once like if I give
if(a.playing)
{
i=1
}
else
{
i=2
}
for 1st time its giving i=1
while playing and other times its giving i=2
while playing.
I created instance AVAudioPlayer
but the instance is working only once like if I give
if(a.playing)
{
i=1
}
else
{
i=2
}
for 1st time its giving i=1
while playing and other times its giving i=2
while playing.