iOS: when not set onclick on view, should passthrough touch event

This commit is contained in:
pengfei.zhou
2022-12-07 10:17:31 +08:00
committed by osborn
parent f175a94b28
commit 875f3a5066
7 changed files with 36 additions and 4 deletions

View File

@@ -22,11 +22,12 @@
#import "DoricVLayoutNode.h"
#import "DoricExtensions.h"
#import "DoricUIView.h"
@implementation DoricVLayoutNode
- (UIView *)build {
return [[UIView new] also:^(UIView *it) {
return [[DoricUIView new] also:^(DoricUIView *it) {
it.doricLayout.layoutType = DoricVLayout;
}];
}