我遇到了一个CFString转换错误。错误信息如下:
无法将类型为 '[CFString]' 的值分配给类型为 '[String]' 的值。
如何修复?
picker.sourceType = UIImagePickerControllerSourceType.Camera
picker.allowsEditing = false
picker.mediaTypes = [kUTTypeImage] //Error Message : Cannot assign a value of type '[CFString]' to a value of type '[String]'
picker.delegate = self
picker.modalPresentationStyle = .Popover
presentViewController(picker, animated: true, completion: nil)//