【发布时间】:2015-12-25 19:04:46
【问题描述】:
var option = [NSObject : AnyObject]?.self
option = [CIDetectorSmile = true, CIDetectorEyeBlink = true, CIDetectorImageOrientation : 6]
错误:应为“,”分隔符
var features = faceDetector.featuresInImage(sourceImage, options: option)
错误:无法使用类型参数列表调用“featuresInImage”('CIImage,options: [NSObject : AnyObject]?Type?)
如何解决编译错误?
【问题讨论】:
标签: ios iphone swift compiler-errors