iPhone Programming - Making Sounds and Vibrations (Method 1)
Loading...
1,357
Loading...
Uploader Comments (MilmersXcode)
see all
All Comments (3)
-
SHIT YEAH MAN I FUCKING LOVE YOU: ONE THING COULD YOU TACH USE HOW TO MAKE KINDA LOOPS, SO WHEN YOU PRESS THE BUTTON 3 TIME IT DOESNT PLAY THE SOUND 3 TIMES EACH OVER ANOTHER
Loading...
I have no idea what I'm doing wrong. I followed your tutorial exactly, and even added a printf command, and it prints to the console when I click the button, but my sound still doesn't play. WHAT IS WRONG!?
jamesjamesjac 10 months ago
@jamesjamesjac It might be a number of reasons. 1:Make sure you have connected the button in IB otherwise it obviously won't work. 2: Make sure you have the sound file imported into your project. 3: Make sure you have typed the right file extension and right file name in the @"" other wise it won't work but will still run fine.
I know these sound silly but they are easy to miss. Hope it helps and if it doesn't sned me a message and I will try and give further help.
MilmersXcode 10 months ago