I'm having a very similar problem with trying to access the AVCaptureDevice class. I've imported the AVFoundation.framework into my project and also did an import statement of the AVFoundation/AVFoundation.h, but XCode just keeps saying AVCaptureDevice is undeclared. Also if I look at the header files within the framework itself, it's missing half of the 4.0 specific AVFoundation classes found within the documentation. Any ideas?
Andrew
|