Adding #import for CoreGraphics
This commit is contained in:
parent
0dbf61f835
commit
60cf0de7ff
1 changed files with 2 additions and 0 deletions
|
|
@ -33,6 +33,8 @@ static dispatch_queue_t image_request_operation_processing_queue() {
|
|||
}
|
||||
|
||||
#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
|
||||
#import <CoreGraphics/CoreGraphics.h>
|
||||
|
||||
static UIImage * AFInflatedImageFromResponseWithDataAtScale(NSHTTPURLResponse *response, NSData *data, CGFloat scale) {
|
||||
if (!data || [data length] == 0) {
|
||||
return nil;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue