Category : alamofire

I am currently trying to upload a photo from my iOS device using Alamofire and Swift 5 to a web server running Wt, however I get a segmentation fault when doing so. Here is my Swift code: static func setProfilePhoto(apiKey: String, imageData: Data, promise: Promise) { DispatchQueue.global(qos: .userInitiated).async { AF.upload(multipartFormData: { multiData in multiData.append(imageData, withName: ..

Read more