How to play a .wav on the iphone using the iOS sdk
October 30th, 2011
Comments off
To play a sound on your iPhone, first of all, you shall add the Audio the Audio Toolbox framework into your frameworks group in XCode. Then, at the beginning of your view controller add the following line:
#import <AudioToolbox/AudioToolbox.h>
Now insert the .wav drag and drop your wav file into the resource folder of your project into xcode window.

Latest Comments