0
私は何が間違っているのか分かりませんか? xcode8と迅速を使用してFTPでalamofireをアップロードしますか?
responseSerializationFailed(Alamofire.AFError.ResponseSerializationFailureReason.jsonSerializationFailed(Error Domain=NSCocoaErrorDomain Code=3840 "Number with minus sign but no digits around character 1." UserInfo={NSDebugDescription=Number with minus sign but no digits around character 1.}))
:誰もが
let imageData = UIImageJPEGRepresentation(pickedImage, 30)!
Alamofire.upload(imageData, to: "ftp://username:[email protected]:21/")
.uploadProgress{ Progress in print("Upload Progress : \(Progress.fractionCompleted)")}
.responseJSON(completionHandler: { response in
debugPrint(response)
})
エラーを助けることができます。