iOS:UIImageView resize when one dimension is just or most,anothor is fit.
This commit is contained in:
@@ -21,17 +21,14 @@
|
||||
//
|
||||
|
||||
#import "DoricImageNode.h"
|
||||
#import "Doric.h"
|
||||
#import "YYWebImage.h"
|
||||
#import "DoricExtensions.h"
|
||||
#import "DoricUtil.h"
|
||||
|
||||
@interface DoricImageView : YYAnimatedImageView
|
||||
@end
|
||||
|
||||
@implementation DoricImageView
|
||||
|
||||
- (CGSize)sizeThatFits:(CGSize)size {
|
||||
return [self sizeThatFits:size];
|
||||
}
|
||||
@end
|
||||
|
||||
@interface DoricImageNode ()
|
||||
|
||||
Reference in New Issue
Block a user