问题描述
我在我的应用程序中使用PLCrashreporter来收集崩溃。我已经按照以下方式对其进行了初始化-
let config = PLCrashReporterConfig(signalHandlerType: PLCrashReporterSignalHandlerType.BSD,symbolicationStrategy: PLCrashReporterSymbolicationStrategy.all)
guard let crashReporter = PLCrashReporter.init(configuration: config) else {
return
}
我想根据某些用户配置取消对PLCrashreporter的初始化/禁用。 因此,它不再为崩溃创建.plcrash文件。 有没有办法实现这种行为?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)