PDA

View Full Version : problems with AVAudiorecorder




ffp3fdhgu
Jul 26, 2010, 05:20 AM
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