Results 1 to 3 of 3

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.

Thread: Having a button play a sound.

  1. #1
    Default Having a button play a sound.

    I would really appreciate help with this as it is boggling my mind for almost a week now.

    Ok, so, I am trying to have this button play a sound when clicked. I just have no idea how to do this.

    I mean I know basics and stuff.

    In Interface Builder:
    Pretty much, what I have set up is Button connected to an object called sounds. Then, the event chosen is called "playsound1".

    I wrote the class files, put them in the classes folder. and now I'm staring at the sounds.h and sounds.m in Xcode, with no idea what to do.

    I was able to create a simple "Beep app" for REGULAR Cocoa using NSBeep. I just don't know how I can create an app that has this button that plays a given sound file in the app's filesystem.

    As always, thanks so much for all the help!
    iPhone 3G 16GB - Black.

    Screw the crAppStore I want Installer!

  2. #2

  3. #3
    they kind of do... but I can't get the source code... and.. they're jailbreak apps, so they are of no aid to me, unfortunately.


    I found this:


    on the dev site.

    any ideas?
    Last edited by sweeneytodd; 2008-07-13 at 10:45 PM. Reason: Automerged Doublepost
    iPhone 3G 16GB - Black.

    Screw the crAppStore I want Installer!

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts