diff --git a/Source/Models/DBAttachment.m b/Source/Models/DBAttachment.m index dac69fd..8a6d59c 100644 --- a/Source/Models/DBAttachment.m +++ b/Source/Models/DBAttachment.m @@ -184,10 +184,12 @@ - (void)loadOriginalImageWithCompletion:(void(^)(UIImage *resultImage))completio switch (self.sourceType) { case DBAttachmentSourceTypePHAsset: if (completion) { + PHImageRequestOptions *options = [PHImageRequestOptions new]; + options.synchronous = YES; [[PHImageManager defaultManager] requestImageForAsset:self.photoAsset targetSize:PHImageManagerMaximumSize contentMode:PHImageContentModeDefault - options:nil + options:options resultHandler:^(UIImage *result, NSDictionary *info) { completion(result); }];