4.2.3 Switching Views PART 3 Playing a Sound effect .wav file - xcode iphone sdk

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,872
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 2, 2011

In PART 3 we add a button that plays a sound effect using the AudioPlayer. We have to import the AVFoundation frameworks.

Download Source files
http://www.garrahan.org/iphone_class_week4.php

Category:

Education

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:
see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • I discovered to make this work I had to add AVAudioPlayerDelegate to the .h file and remove the [audioPlayer release]; and release it somewhere else. Thanks for the code. I appreciate it.

  • this is a great tutorial, but when i hit the button to play the sound, it lights blue for a second recognizing a touch, but then doesnt play the sound. do you know what my problem might be?

  • Thanks a lot thats really help

    but do you know how to play a sound in a"player" (when you play sound in the ipod.app you have all buttoms)

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more