I would like for my app to reset to standard settings if it crashed during startup. Preferably also if it crashed last time it was run.
EDIT: Crittercism has a crittercismDidCrashOnLastLoad
method, but it only handles the case of crashing during load. It didn't work properly in the version of the library I used, but this has since been fixed.
Suggestions?
Using Crashlytics you then can set CrashlyticsDelegate to detect a crash on Swift or ObjC code.
From Crashlytics docs
Make 2 functions in your
AppDelegate.m
file:Then in your
-(BOOL)application:didFinishLaunchingWithOptions
before anything else put: