I'm working on a app that consume data from a web service.I tried to consume data from webservice using afnetworking 3.x. I have stucked in some place.don't know wher to go from here.hope your help.
NSString *mainapiKey = [NSString…
I was on AFnetworging 2.0.6 and I would like to migrate to 3 or 4.0.1.
I have problem with this part of code
I know AFHTTPRequestOperation it's not reuse on version 3 or 4.
and I have some error here.
Can you help me please.
-…
Im using AFNetworking in my project. When I try to find the memory leaks using instruments, its showing AFNetworking as reasons for memory leak. I'm creating a model class and within that class I'm calling the AFNetworking. Call to API is done from…
In Swift (Alamofire) I do this code:
let url = URL(string: "http://cdn.thechivemobile.com.edgesuite.net/v5/chive/20117177/20117177_2_600_366.gif")!
let task = Alamofire.request(url)
task.downloadProgress() { (progress) in
print("***…
I am currently using the following method to send GET API requests. This method works, but I was wondering if there is a faster way. All I need regarding requirements is to know when all of the Deleted mail has been synced. Any tips or suggestions…
We did review our app for security testing and response we got issue in AFNetworkingReachbilityManager class for Hardcode Encryption Key. Any Idea how to fix this security issue.
Here is the code where they point out hardcode encryption key.
+…
I'm downloading files using AFNetWorking.Its works well. And I stored files in "/Documents ".But the app downloaded again when I called this request again. Is there any solutions could cached these files like NSURLCache? When I request again and AF…
So I updated AFNetworking in my project from v2.0 to v3.1 but ever since that I am getting 'invalid bitcode version (Producer: '802.0.38.0_0' Reader: '800.0.42.1_0')'. The archive was generated successfully multiple times in Xcode 8.2 before the…
Does anyone know how to set ticket inside AFHTTPSessionOperation?
This is the previous call using AFNetworking framework 1.0
NSURLRequest* request = [self.myClient requestWithMethod:@"POST" path:[NSString stringWithFormat:@"%@/%@", controller,…
I am try to change request before and After response call of AfNetworking. I have done in Alamofire using Request Adapter. Can any one help me same thing on AFNetworking.
Below link which explains clearly to for Alamofire 3 and…
Everything works great with the code, the problem is it says authentication failed, though the username and password is 100% correct, so not sure if there is a way to pass the login and the password and get the user authenticated
NSString…
I had an option in older AFNetworking to set outputStream with:
AFHTTPRequestOperation* requestOperation = [[AFHTTPRequestOperation alloc] initWithRequest:request];
requestOperation.outputStream = [NSOutputStream outputStreamToFileAtPath:somePath…
In AFNetworking 3 for invalid SSL certificate I used validatesCertificateChain = false , but now it seems that this field was removed and I can't make requests to my server.
Here is class for requests:
import UIKit
import AFNetworking
class…
I have a server with OAuth 2.0 implemented for issuing access and refresh tokens. The client for this server is an iOS App written in Objective-C. I am currently using AFNetworking 3.0 for HTTP requests and AFOAuth2Manager to handle authorization. I…
Steps to understand my problem:
1) I created a framework (My.framework)
2) Added My.framework as a subproject to MyApp.xcodeproj.
3) Then I ran cocoapod for adding AFNetworking on MyApp.xcodeproj.
4) Now, I open MyApp.xcworkspace.
5) While trying…