AFNetworking Uploading a file
First, make sure you have the latest version of AFNetworking downloaded. AFHTTPRequestOperation +HTTPRequestOperationWithRequest:success:failure: was removed a few versions back. Instead, you can do [[AFHTTPRequestOperation alloc] initWithRequest:…] and then set the completionBlock with either the straight property accessor (operation.completionBlock = ^{…}), or with -setCompletionBlockWithSuccess:failure:. Keep in mind that completion blocks execute after the request has finished … Read more