error in zxing api
I have downloaded zxing apis from net and included all the 6 needed frameworks, but still I am getting error like:
'AVCaptureDevice' undeclared (first use i开发者_运维百科n this function).
'AVCaptureTorchModeOn' undeclared (first use in this function)
Plz guide me how it will solve.
Thanks.
You need to add the AVFoundation
framework. If you have already done this, check that it is enabled for the target you are building.
精彩评论