어떤 이유로, Swift 3.0
로 변환 한 후 나는 아카이브하려고 할 때 난 단지 오류가이 오류를CIDetectorError : '(String, CIContext?, [String : Any]?) -> CIDetector'는 (String, CIContext?, [String : Any]?)로 변환 할 수 없습니다.
'(String, CIContext?, [String : Any]?) -> CIDetector' is not convertible to '(String, CIContext?, [String : Any]?) -> CIDetector?'
//When initiating
let detector: CIDetector? = CIDetector(ofType: CIDetectorTypeFace, context: nil, options: [CIDetectorAccuracy: CIDetectorAccuracyHigh])
를 얻을. 내가 달릴 때, 모든 것이 잘 작동합니다.
이 문제를 해결하는 방법 : http://stackoverflow.com/a/40463013/4045472 – bubuxu
[CIDetectorTypeQRCode가 오류를 발생시킬 수 있습니다] 가능한 중복 (http://stackoverflow.com/questions/40409417/cidetectortypeqrcode-gives-error) – jk2K