Skip to content
Browse files

removes the trickery that sets the image scale if on a retina display

  • Loading branch information...
1 parent 5a4fcd1 commit 5e5d61ed9f0833be8f8a7eee604e279be1afb686 @dnstevenson committed Nov 7, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 AFNetworking/AFImageRequestOperation.m
View
10 AFNetworking/AFImageRequestOperation.m
@@ -184,12 +184,12 @@ - (void)dealloc {
#if __IPHONE_OS_VERSION_MIN_REQUIRED
- (UIImage *)responseImage {
if (!_responseImage && [self isFinished]) {
- if ([[UIScreen mainScreen] scale] == 2.0) {
- CGImageRef imageRef = [[UIImage imageWithData:self.responseData] CGImage];
- self.responseImage = [UIImage imageWithCGImage:imageRef scale:2.0 orientation:UIImageOrientationUp];
- } else {
+// if ([[UIScreen mainScreen] scale] == 2.0) {
+// CGImageRef imageRef = [[UIImage imageWithData:self.responseData] CGImage];
+// self.responseImage = [UIImage imageWithCGImage:imageRef scale:2.0 orientation:UIImageOrientationUp];
+// } else {
self.responseImage = [UIImage imageWithData:self.responseData];
- }
+// }
}
return _responseImage;

0 comments on commit 5e5d61e

Please sign in to comment.
Something went wrong with that request. Please try again.