I've added AVFoundation.framework I've written "#import " at the top of the file.
I've used the class AVCaptureSession AVCaptureDevice AVCaptureDeviceInput... in my code.
But when I build it,Xcode told me the errors that "AVCaptureSession undeclared" "AVCaptureDevice undeclared" ...
What's wrong with it? What should I do for it?
Thank you very much!
Do you built it for simulator? If so, try to build for device, these classes will not compile for simulator.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With