I have some buttons linked to an IBAction
that plays a sound.
-(IBAction)listen {
// play the audio
}
My files are organized with On Demand Resources, and I have 3 tags:
- level1
- level2
- level3
So what I'd like to achieve is:
if the user is on level 1, he will only be able to play files with the level1
tag. If he clicks on a level2
tag audio, an alert will appear.
How can I check if a file has a specific tag?