QRCodeReaderViewController
QRCodeReaderViewController copied to clipboard
some version iPhone can't use Camera
I test some iOS versions and some iPhones , I find iPhone5s with iOS 9.3.5 and 10.0.2,the QR can't run , i found AVCaptureDeviceInput is nil in those cases, help!!!!
On these devices is the camera is allowed (permission)?
With iOS10 you also need to specify the Privacy - Camera Usage Description key in the Info.plist of the app.
That's right!! my company 's litter girl disable the camera permission and ask me why!! Orz.......ths~