call progress block regardless of completion block, options
This commit is contained in:
parent
899d67ba54
commit
827fcac89b
|
@ -241,13 +241,11 @@
|
|||
}
|
||||
|
||||
CFRelease(imageSource);
|
||||
}
|
||||
|
||||
NSUInteger received = self.imageData.length;
|
||||
|
||||
if (self.progressBlock)
|
||||
{
|
||||
self.progressBlock(received, self.expectedSize);
|
||||
}
|
||||
if (self.progressBlock)
|
||||
{
|
||||
self.progressBlock(self.imageData.length, self.expectedSize);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue