关闭

Handler block method is called twice and image downloads twice issue

该项目现在关闭,项目预算为 $10 USD

为像这样的项目获取免费报价
雇主工作
项目预算
$10 USD
项目描述

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..

}

在寻找赚取金钱的机会?

  • 设定您的预算和时间框架
  • 大致描述您的建议方案
  • 为您的工作领取工资

雇用同样在该项目上竞标的威客

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