In my app,I used the AFHTTPRequestOperationManager for API integration and its working. I need to show the progress for data download and i checked with setCompletionBlockWithSuccess callback but it isn't called. How to find the data download in AFHTTPRequestOperationManager.
Kindly help me.
AFHTTPRequestOperationManager *manager = [[AFHTTPRequestOperationManager manager] initWithBaseURL:[NSURL URLWithString:@""]];
[manager.requestSerializer setValue:SourceType forHTTPHeaderField:@"Source"];
[manager.requestSerializer setValue:sig forHTTPHeaderField:@"Sig"];
[manager GET:mtdName parameters:params success:^(AFHTTPRequestOperation *operation, id responseDict)
{}
failure:^(AFHTTPRequestOperation *operation, NSError *error)
{}];