UIPickerView/audio file selection

Discussion in 'iOS Programming' started by ghostintheguita, Jul 29, 2010.

  1. macrumors newbie

    Jul 29, 2010
    hey all, I'm new at iphone/ipad programming i'm looking for a way to have my UIpickerview select and load small audio (files playback triggered by a UIbutton) and for every new sound selected the old one would be released for memory purposes. i've done a lot of reading online, i haven't been able to find what i was looking for.

    my questions are
    a) how to program the uipickerview to do what i need it to (load individual audio files triggered by the UIButton)
    b) how to set the release of the audio file that was previously selected

    c)where in the UIPickerView do i input the commands (some places i found online suggest in - didSelectRow

    ideally if anyone could post code for me to see an example, i would very much appreciate it.

    Thanks !

Share This Page