I recommend you break
buttonTapped(_:)up a bit.
let tag = sender.tag let audioPlayer = audioPlayers[tag] audioPlayer.play()
then step through the code to see what
tagis set to. If
tagis correct, you need to look at how
audioPlayersis set up. OTOH, if you
tagis wrong then you’ll need to look at why that is.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
Can you send me the code of the app so I could make it? It sounds cool and I can fix the problem so it will work. Sincerely, Jared