feat:fix ListView's auto resize height in iOS

This commit is contained in:
pengfei.zhou
2019-11-16 15:10:21 +08:00
parent 1d5b312922
commit db55cb30fb
7 changed files with 80 additions and 28 deletions

View File

@@ -69,6 +69,10 @@ typedef NS_ENUM(NSInteger, DoricGravity) {
@interface DoricLayoutContainer : UIView
@property(nonatomic, assign) DoricGravity gravity;
- (void)layout:(CGSize)targetSize;
- (CGSize)sizeContent:(CGSize)size;
@end
@interface DoricStackView : DoricLayoutContainer