Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ffp3fdhgu

macrumors newbie
Original poster
Jul 13, 2010
2
0
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.