Avaudioplayer problem regarding songs
- by Arun Sharma
I am using avaudioplayer for playing mp3 songs.
The problem is in being able to catch the instance of the player to control it i.e. Stop it, Play it etc. The code by default creates multiple instances of the same player and overlaps the songs. I am being unable to reference the player specifically.
Do you have an idea as to how we can do so?
Thanks
Arun Sharma