yannickl / QRCodeReader.swift

Simple QRCode reader in Swift
MIT License
1.33k stars 330 forks source link

Crash when camera permission is denied. * I am using tag '7.5.0' because of my current swift version #159

Closed mhmdrmdn94 closed 5 years ago

yannickl commented 5 years ago

This is a normal behaviour, you must check before whether the permission are valid, like in the example project: https://github.com/yannickl/QRCodeReader.swift/blob/20cb40346077e3b60448a10c130717d131914b44/Example/QRCodeReader.swift/ViewController.swift#L60-L88