Fix qrcode scan require using gpu
This commit is contained in:
parent
5a7bb4fa41
commit
db4751f2e6
@ -30,7 +30,7 @@ class QRCodeUtil: NSObject {
|
||||
}
|
||||
|
||||
let detector = CIDetector(ofType: CIDetectorTypeQRCode,
|
||||
context: nil,
|
||||
context: CIContext(options: [CIContextOption.useSoftwareRenderer : true]),
|
||||
options: [CIDetectorAccuracy:CIDetectorAccuracyHigh])!
|
||||
var ssUrls = [String]()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user