我如何让它编译?
在这个函数的第二行:
func imagePickerController(picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [NSObject : AnyObject]) {
let mediaType = info[UIImagePickerControllerMediaType] as! CFString!
if UTTypeEqual(mediaType, kUTTypeJPEG) {
println("jpg")
}
}
我得到编译错误:
Cannot invoke 'UTTypeEqual' with an argument list of type '(CFString!, CFString!)'