Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

设置了可以拖动为啥view 无法移动。交互也打卡了 #20

Open
PotatoPudding opened this issue Mar 18, 2022 · 1 comment
Open

Comments

@PotatoPudding
Copy link

GeRenPKView *view = [GeRenPKView getNibView:@"GeRenPKView"];
view.userInteractionEnabled = YES;
view.backImage.userInteractionEnabled = YES;
view.popupDelegate = self;
TFPopupParam *param = [TFPopupParam new];
param.offset = CGPointMake(0, 0);
param.popupSize = CGSizeMake(kScreenWidth - 20 , 200);
param.disuseBackgroundTouchHide = NO;
param.dragEnable = YES;
param.dragStyle = DragStyleFree;
param.discernScrollEnable = YES;
self.geRenPKView = view;
[view tf_showScale:self.view offset:CGPointZero popupParam:param];

@shmxybfq
Copy link
Owner

view.popupDelegate = self;
这句应该就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants