Handler block method is called twice and image downloads twice issue

This project is now closed with a project budget of $10 USD.

Get free quotes for a project like this
Employer working
Skills Required
Project Budget
$10 USD
Project Description

There is a situation where the handler block method is called twice, however I called it one time. So I want a way to correct this case.

[HTTPReq postRequestWithPath:@"" class:nil parameters:dictRequest completionBlock:^(id result, NSError *error) {

if (result)


NSDictionary *dictResult = result;

if([[dictResult valueForKey:@"message"] isEqualToString:@"success"]){

//if success i download the image..


Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online