Skip to content
New issue

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

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

Already on GitHub? # to your account

ios 16.1.1 Debug模式正常、 Release 模式无法弹窗 #180

Open
J-Innovation opened this issue Dec 22, 2022 · 2 comments
Open

ios 16.1.1 Debug模式正常、 Release 模式无法弹窗 #180

J-Innovation opened this issue Dec 22, 2022 · 2 comments

Comments

@J-Innovation
Copy link

如标题所述~~~

@J-Innovation
Copy link
Author

研究了一下,不能这么写:
LEEBaseConfigModel *config = [LEEAlert alert].config;
config.xxxxxx

如果像上面这么写,那么只能够在Debug模式下工作,Release模式将不会有任何反应。

@lixiang1994
Copy link
Owner

我用Demo跑了一下 没有问题, 如果你要拆开 需要这么写:

LEEAlertConfig * alert = [LEEAlert alert];
LEEAlertConfigModel * config = alert.config;
config.addXXXXX;
config.addXXXXX;
config.addXXXXX;
config.addXXXXX;
config.addXXXXX;

if (XXXX) {
     config.addXXXXX;
}
for xxx in xxxx {
     config.addXXXXX;
}
config.LeeShow();

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

No branches or pull requests

2 participants