Skip to content

Commit

Permalink
Update UIImage+JKResize.m
Browse files Browse the repository at this point in the history
Fixed function name error.
  • Loading branch information
zhongyang authored Aug 10, 2016
1 parent 29d5ed7 commit 3d647b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JKCategories/UIKit/UIImage/UIImage+JKResize.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ - (UIImage *)jk_resizedImage:(CGSize)newSize
transform:(CGAffineTransform)transform
drawTransposed:(BOOL)transpose
interpolationQuality:(CGInterpolationQuality)quality;
- (CGAffineTransform)transformForOrientation:(CGSize)newSize;
- (CGAffineTransform)jk_transformForOrientation:(CGSize)newSize;
@end

@implementation UIImage (JKResize)
Expand Down Expand Up @@ -70,7 +70,7 @@ - (UIImage *)jk_resizedImage:(CGSize)newSize interpolationQuality:(CGInterpolati
}

return [self jk_resizedImage:newSize
transform:[self transformForOrientation:newSize]
transform:[self jk_transformForOrientation:newSize]
drawTransposed:drawTransposed
interpolationQuality:quality];
}
Expand Down

0 comments on commit 3d647b8

Please sign in to comment.