Nachdem aus irgendeinem Grund Swift 3.0
, Konvertieren Ich erhalte diese FehlerCIDetectorError: '(String, CIContext ?, [String: Any]?) -> CIDetector' ist nicht konvertierbar in '(String, CIContext ?, [String: Any]?) -> CIDetector?'
'(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])
ich nur eine Fehlermeldung erhalten, wenn ich zum Archiv versuchen. Wenn ich renne, funktioniert alles gut.
Möglichkeit, dieses Problem zu beheben: http://StackOverflow.com/a/40463013/4045472 – bubuxu
Mögliches Duplikat von [CIDetectorTypeQRCode gibt Fehler] (http://StackOverflow.com/questions/40409417/cidetectortypeqrcode-gives-error) – jk2K