We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
你好,我的接口很简单只是弹个 toast
@objc func toast(_ arg: [String: Any]) { NotificationBanner.display(arg.values.first as? String) }
debug 的时候不会崩溃,打包的时候会在这里崩溃
ret=action(JavascriptInterfaceObject,sel,arg);
当我将 release 环境在模拟器运行会崩溃,当我修改了 Build Settings - Optimization Level 改为 None 时,又不会崩溃了。
The text was updated successfully, but these errors were encountered:
方法需要返回值,我是返回一个Any?类型的nil
Sorry, something went wrong.
No branches or pull requests
你好,我的接口很简单只是弹个 toast
debug 的时候不会崩溃,打包的时候会在这里崩溃
当我将 release 环境在模拟器运行会崩溃,当我修改了 Build Settings - Optimization Level 改为 None 时,又不会崩溃了。
The text was updated successfully, but these errors were encountered: