QRCode icon indicating copy to clipboard operation
QRCode copied to clipboard

* add support custom CIContextFactory.use it fix crash in iOS8

Open stat0s2p opened this issue 8 years ago • 0 comments

read http://stackoverflow.com/questions/39570644 answer create CIContext instance in object-c and set it to QRCode.CIContextFactory static field in iOS8. example:

if #available(iOS 9.0, *){
  return
}
QRCode.CIContextFactory = {
  return CIContext.cso_context(options: nil)
}

stat0s2p avatar Feb 17 '17 09:02 stat0s2p