Handler block method is called twice and image downloads twice issue

Ακυρώθηκε Αναρτήθηκε Πριν 7 χρόνια Πληρώθηκε κατά την παράδοση
Ακυρώθηκε Πληρώθηκε κατά την παράδοση

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

}

iPhone Mobile App Development Objective C

Ταυτότητα Εργασίας: #11786542

Σχετικά με την εργασία

Απομακρυσμένη εργασία Ενεργό Πριν 7 χρόνια