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

除数为0,老系统使用新系统api崩溃类型 #98

Open
Qinzhao opened this issue Feb 22, 2021 · 1 comment
Open

除数为0,老系统使用新系统api崩溃类型 #98

Qinzhao opened this issue Feb 22, 2021 · 1 comment

Comments

@Qinzhao
Copy link

Qinzhao commented Feb 22, 2021

例如
1、let a = 3/0
2、iOS13使用5Gapi
let network5G = [CTRadioAccessTechnologyNR,CTRadioAccessTechnologyNRNSA]

崩溃类型分别是 EXC_ARITHMETIC EXC_BAD_ACCESS
这种崩溃类型 能否拦截 防止崩溃

@jezzmemo
Copy link
Owner

JJException是通过运行时特性来运作的,指针类的错误类型手段比较特殊不在计划范围内

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