problems with AVAudiorecorder

Discussion in 'iOS Programming' started by ffp3fdhgu, Jul 26, 2010.

  1. ffp3fdhgu macrumors newbie

    Jul 13, 2010
    Hi all,
    Right now I have this problem, I have linked my apps with AVfoundation framework, and when I clicked on AVFoundation.framework, it shows AVAudioRecorder.h and all others header files.

    But when I build and run my program, it shows error "cannot find protocol for AVAudioRecorderDelegate" at this line:

    @interface audioViewController : UIViewController <AVAudioRecorderDelegate,AVAudioPlayerDelegate>

    This line is in my audioViewController.h file, and I've already imported AVFoundation/AVFoundation.h and CoreAudio/CoreAudioTypes.h in that header file too.

    Anyone knows how to fix this? Help is really appreciated. Thanks in advance

Share This Page