//
//  OJAUtilMethod.h
//  OJAKitDemo
//
//  Created by luxiaoming on 2017/8/14.
//  Copyright © 2017年 luxiaoming. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface OJAUtilMethod : NSObject


/**
 将图片按原来的宽高比缩放到maxSize
 其实就是按aspectFit方式缩放后的大小
 */
+ (CGSize)aspectFitSizeForOriginalSize:(CGSize)size withinMaxSize:(CGSize)maxSize;


@end
