LoSenTrad / LSTPopView

LSTPopView iOS万能弹窗 (QQ群:1045568246 微信:a_LSTKit)
MIT License
1.05k stars 101 forks source link

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

Closed Madness66 closed 3 years ago

Madness66 commented 4 years ago
  popView.bgClickBlock = ^{
        [weakPopview dismiss];
    };
LoSenTrad commented 4 years ago

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

Madness66 commented 4 years ago
AMKSignInPopView *signInView = [[AMKSignInPopView alloc] initWithFrame:CGRectMake(0, 0, LSTScreenWidth(), LSTScreenHeight())];

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

LoSenTrad commented 4 years ago
AMKSignInPopView *signInView = [[AMKSignInPopView alloc] initWithFrame:CGRectMake(0, 0, LSTScreenWidth(), LSTScreenHeight())];

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

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