iOS:implement MaxWidth and MaxHeight

This commit is contained in:
pengfei.zhou
2020-04-03 17:28:55 +08:00
committed by osborn
parent 91787fb0af
commit 870a7e74af
3 changed files with 27 additions and 10 deletions

View File

@@ -88,6 +88,10 @@ typedef NS_ENUM(NSInteger, DoricGravity) {
@property(nonatomic, assign) BOOL disabled;
@property(nonatomic, assign) CGFloat maxWidth;
@property(nonatomic, assign) CGFloat maxHeight;
- (instancetype)init;
- (void)apply;