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

背景点击不会收回弹窗,不执行block #3

Closed
Madness66 opened this issue Mar 31, 2020 · 3 comments
Closed

背景点击不会收回弹窗,不执行block #3

Madness66 opened this issue Mar 31, 2020 · 3 comments

Comments

@Madness66
Copy link

  popView.bgClickBlock = ^{
        [weakPopview dismiss];
    };
@LoSenTrad
Copy link
Owner

不太明白 请上一下整个执行弹框的代码

@Madness66
Copy link
Author

AMKSignInPopView *signInView = [[AMKSignInPopView alloc] initWithFrame:CGRectMake(0, 0, LSTScreenWidth(), LSTScreenHeight())];

我初始化给了全屏frame,把frame设置为内容frame的大小,就解决了,比心!

@LoSenTrad
Copy link
Owner

AMKSignInPopView *signInView = [[AMKSignInPopView alloc] initWithFrame:CGRectMake(0, 0, LSTScreenWidth(), LSTScreenHeight())];

我初始化给了全屏frame,把frame设置为内容frame的大小,就解决了,比心!

内部手势确实被拦截了 已经做了优化了

@LoSenTrad LoSenTrad added the bug Something isn't working label Apr 22, 2020
@LoSenTrad LoSenTrad added 已解决 and removed bug Something isn't working labels Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants