通知用户之前应用程序崩溃了

问题描述 投票:0回答:1

我已经在我的应用程序中集成了Crashlytics来发送崩溃报告。我需要显示一条警报,说明应用程序在崩溃后下次启动时会在之前的运行阶段崩溃。我怎么能检测到它崩溃了?有没有可能使用crashlytics?

ios crashlytics
1个回答
0
投票

这就是Crashlytics代表crashlyticsDidDetectReport(forLastExecution report: CLSReport)的功能。实施它,例如在你的AppDelegate中显示警告,并设置Crashlytics.sharedInstance().delegate = self

© www.soinside.com 2019 - 2024. All rights reserved.