How can I get AFHTTPRequest progress? I tried searching all over the net.
I use:
AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager]; NSDictionary *params = @{@"gameId" : datas[0], @"p1": datas[1], @"p2":datas[2], @"turn":datas[3] }; manager.requestSerializer = [AFHTTPRequestSerializer serializer]; manager.responseSerializer = [AFHTTPResponseSerializer serializer]; [manager POST:@"http://localhost/thepath/isprivate/thefile.php" parameters:params success:^(AFHTTPRequestOperation *operation, id responseObject) { } failure:^(AFHTTPRequestOperation *operation, NSError *error) { }];
Is there any property or method that I can use to access the HTTP POST AFNetworking 2.0 progress?
ios objective-c afnetworking-2
DHShah01
source share