无法关闭点击背景退出对话框 设置tapBackgroundViewDismiss 无效
Opened this issue · 6 comments
a13377766460 commented
/** 是否单击背景退出对话框,默认为YES */
@Property(nonatomic, assign) BOOL tapBackgroundViewDismiss;
这个属性根本没有用啊 设置了都是无效的 什么时候麻烦完善下
SPStore commented
问题已修复,请升级到3.0.4版本,谢谢。
乐升平 许思必客行
中华人民共和国
手机:13879857085 邮箱:lesp163@163.com
电话:000-00000000 地址:上海市浦东新区居里路99号
在2019年06月1日 04:23,a13377766460<notifications@github.com> 写道:
/** 是否单击背景退出对话框,默认为YES */
@Property(nonatomic, assign) BOOL tapBackgroundViewDismiss;
这个属性根本没有用啊 设置了都是无效的 什么时候麻烦完善下
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
a13377766460 commented
我已经自己修复了,在2170行代码处方法加了个判断
-
(void)tapOverlayView {
SPAlertController *alertController = (SPAlertController *)self.presentedViewController;
if (alertController.tapBackgroundViewDismiss) {//修复BUG
[alertController dismissViewControllerAnimated:YES completion:^{}];
}
}
SPStore commented
666
| |
乐升平
|
|
邮箱:lesp163@163.com
|
签名由 网易邮箱大师 定制
在2019年06月04日 22:19,a13377766460 写道:
我已经自己修复了,在2170行代码处方法加了个判断
(void)tapOverlayView {
SPAlertController *alertController = (SPAlertController *)self.presentedViewController;
if (alertController.tapBackgroundViewDismiss) {//修复BUG
[alertController dismissViewControllerAnimated:YES completion:^{}];
}
}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
a13377766460 commented
没办法那时候,急修复我只好花时间研究下你的代码,我刚才看了和你修复的方式是一样的,哈哈
a13377766460 commented
用着还不错比 2.x版本的时候好很多额
SPStore commented
是的,花了我巨大的功夫,主要就是一个类代码行数太多,本来也想抽成好几个类,但是不想别人用起来太麻烦,一样对外简单一些,对内复杂点没事。感谢你的使用。
| |
乐升平
|
|
邮箱:lesp163@163.com
|
签名由 网易邮箱大师 定制
在2019年06月04日 22:24,a13377766460 写道:
用着还不错比 2.x版本的时候好很多额
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.